20 lines
695 B
C++
20 lines
695 B
C++
#include "concordia/token_annotation.hpp"
|
|
|
|
|
|
TokenAnnotation::TokenAnnotation(const SUFFIX_MARKER_TYPE start,
|
|
const SUFFIX_MARKER_TYPE end,
|
|
const char annotationType,
|
|
const std::string & value):
|
|
Interval(start, end),
|
|
_annotationType(annotationType),
|
|
_value(value) {
|
|
}
|
|
|
|
TokenAnnotation::~TokenAnnotation() {
|
|
}
|
|
|
|
char TokenAnnotation::NE_TYPE = 0;
|
|
char TokenAnnotation::WORD_TYPE = 1;
|
|
char TokenAnnotation::HTML_TAG_TYPE = 2;
|
|
char TokenAnnotation::STOP_WORD_TYPE = 3;
|