concordia-library/concordia/token_annotation.cpp

20 lines
670 B
C++

#include "concordia/token_annotation.hpp"
TokenAnnotation::TokenAnnotation(const SUFFIX_MARKER_TYPE start,
const SUFFIX_MARKER_TYPE end,
const int annotationType,
const std::string & value):
Interval(start, end),
_annotationType(annotationType),
_value(value) {
}
TokenAnnotation::~TokenAnnotation() {
}
int TokenAnnotation::NE = 0;
int TokenAnnotation::WORD = 1;
int TokenAnnotation::HTML_TAG = 2;
int TokenAnnotation::STOP_WORD = 3;