concordia-library/concordia/token_annotation.cpp

20 lines
670 B
C++
Raw Permalink Normal View History

2015-06-22 13:52:56 +02:00
#include "concordia/token_annotation.hpp"
TokenAnnotation::TokenAnnotation(const SUFFIX_MARKER_TYPE start,
const SUFFIX_MARKER_TYPE end,
2015-06-25 20:49:22 +02:00
const int annotationType,
2015-06-22 13:52:56 +02:00
const std::string & value):
Interval(start, end),
_annotationType(annotationType),
_value(value) {
}
TokenAnnotation::~TokenAnnotation() {
}
2015-06-25 20:49:22 +02:00
int TokenAnnotation::NE = 0;
int TokenAnnotation::WORD = 1;
int TokenAnnotation::HTML_TAG = 2;
int TokenAnnotation::STOP_WORD = 3;