10#ifndef LIMA_LINGUISTICPROCESSING_LINGUISTICANALYSISSTRUCTURETOKEN_H
11#define LIMA_LINGUISTICPROCESSING_LINGUISTICANALYSISSTRUCTURETOKEN_H
41 inline StringsPoolIndex
form()
const;
44 inline uint64_t
length()
const;
59 virtual void outputXml(std::ostream& xmlStream,
68 StringsPoolIndex m_form;
73 std::vector<StringsPoolIndex> m_alternatives;
114 return m_alternatives;
119 m_alternatives.push_back(alt);
#define LIMA_LINGUISTICANALYSISSTRUCTURE_EXPORT
Provide tools to parse a property file, and deal with the property coding system.
uint64_t position() const
void setLength(uint64_t length)
void addOrthographicAlternatives(StringsPoolIndex alt)
const TStatus & status() const
virtual void outputXml(std::ostream &xmlStream, const Common::PropertyCode::PropertyCodeManager &pcm, const FsaStringsPool &sp) const
const std::vector< StringsPoolIndex > & orthographicAlternatives() const
const LimaString & stringForm() const
StringsPoolIndex form() const
Token(StringsPoolIndex form, const LimaString &stringForm, uint64_t position, uint64_t length)
void setPosition(uint64_t pos)
void setStatus(const TStatus &status)
Set the TStatus of a token.