63 switch (m_status.getStatus()) {
66 switch (m_status.getAlphaCapital()) {
67 case T_CAPITAL : oss <<
";capital" ;
break;
68 case T_SMALL : oss <<
";small" ;
break;
70 case T_ACRONYM : oss <<
";acronym" ;
break;
74 switch (m_status.getAlphaRoman()) {
80 if (m_status.isAlphaHyphen()) {
83 if (m_status.isAlphaPossessive()) {
90 switch (m_status.getNumeric()) {
91 case T_INTEGER : oss <<
";integer" ;
break;
101 case T_PATTERN : oss <<
"T_pattern" ;
break;
102 case T_WORD_BRK : oss <<
"T_word_brk" ;
break;
106 if (m_status.defaultKey().isEmpty()) {
107 oss <<
"T_no_status";
111 if (!m_status.defaultKey().isEmpty()) {
137 return (compareTStatus(token->
status()));
153 return (t == m_status);
180 m_status.getAlphaRoman() != m_status.getAlphaRoman() ) {
211 if (m_status.defaultKey() != t.
defaultKey()) {
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
const LinguisticAnalysisStructure::TStatus & status() const
bool operator==(const TransitionUnit &) const override
std::string printValue() const override
TypeTransition type() const override
bool compare(const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, AnalysisContent &analysis, const LinguisticAnalysisStructure::Token *token, const LinguisticAnalysisStructure::MorphoSyntacticData *data) const override
comparison of the transition with a token : can use the graph and vertex info, associated with genera...
virtual ~TStatusTransition()
TStatusTransition & operator=(const TStatusTransition &)
bool compareProperties(const TransitionUnit &t) const
virtual TypeTransition type() const =0
void copyProperties(const TransitionUnit &t)
An AnalysisData containing a LinguisticGraph with a language and an id.
Holds morphosyntactic informations.
NumericType getNumeric() const
StatusType getStatus() const
AlphaCapitalType getAlphaCapital() const
bool isAlphaPossessive() const
bool isAlphaHyphen() const
const Lima::LimaString & defaultKey() const
holds surface data of a token
const TStatus & status() const
std::string limastring2utf8stdstring(const Lima::LimaString &phrase, uint32_t size0)
Convert a wide string to a string , in dest up to size bytes.
LimaString utf8stdstring2limastring(const std::string &src)