#include <mbma_brackets.h>
|
| BracketLeaf (const RulePart &, int, TiCC::LogStream &) |
|
| BracketLeaf (CLEX::Type, const icu::UnicodeString &, int, TiCC::LogStream &) |
|
BracketLeaf * | clone () const |
|
icu::UnicodeString | put (bool=true) const |
|
icu::UnicodeString | pretty_put () const |
|
icu::UnicodeString | morpheme () const |
|
std::string | inflection () const |
|
std::string | original () const |
|
int | infixpos () const |
|
bool | isglue () const |
|
folia::Morpheme * | createMorpheme (folia::Document *) const |
|
folia::Morpheme * | createMorpheme (folia::Document *, std::string &, int &) const |
|
| BaseBracket (CLEX::Type t, const std::vector< CLEX::Type > &R, int flag, TiCC::LogStream &l) |
|
| BaseBracket (CLEX::Type t, int flag, TiCC::LogStream &l) |
|
virtual | ~BaseBracket () |
|
Status | status () const |
|
void | set_status (const Status s) |
|
virtual BaseBracket * | append (BaseBracket *) |
|
virtual bool | isNested () |
|
virtual void | resolveGlue () |
|
virtual void | resolveLead () |
|
virtual void | resolveTail () |
|
virtual void | resolveMiddle () |
|
virtual void | clearEmptyNodes () |
|
virtual Compound::Type | compound () const |
|
virtual Compound::Type | getCompoundType () |
|
CLEX::Type | tag () const |
|
void | setTag (CLEX::Type t) |
|
◆ BracketLeaf() [1/2]
BracketLeaf::BracketLeaf |
( |
const RulePart & |
p, |
|
|
int |
debug_flag, |
|
|
TiCC::LogStream & |
l |
|
) |
| |
create a BracketLeaf object from a RulePart
- Parameters
-
p | A Rulepart to create from |
debug_flag | the debug value |
l | a LogStream for messages |
◆ BracketLeaf() [2/2]
BracketLeaf::BracketLeaf |
( |
CLEX::Type |
t, |
|
|
const icu::UnicodeString & |
morpheme, |
|
|
int |
debug_flag, |
|
|
TiCC::LogStream & |
l |
|
) |
| |
create a BracketLeaf object from a CLEX::Type and a morpheme
- Parameters
-
t | A CLEX::Type |
morpheme | the (Unicode) morpheme |
debug_flag | the debug value |
l | a LogStream for messages |
◆ clone()
◆ createMorpheme() [1/2]
folia::Morpheme * BracketLeaf::createMorpheme |
( |
folia::Document * |
doc | ) |
const |
|
virtual |
use the data in the Leaf to create a folia::Morpheme node
- Parameters
-
doc | The FoLiA Document context |
Implements BaseBracket.
◆ createMorpheme() [2/2]
folia::Morpheme * BracketLeaf::createMorpheme |
( |
folia::Document * |
doc, |
|
|
std::string & |
desc, |
|
|
int & |
cnt |
|
) |
| const |
|
virtual |
use the data in the Leaf to create a folia::Morpheme node
- Parameters
-
doc | The FoLiA Document context |
desc | a decriptien note to add |
cnt | a counter for the number of handled morphemes |
Implements BaseBracket.
◆ infixpos()
int BracketLeaf::infixpos |
( |
| ) |
const |
|
inlinevirtual |
return the position of an infix
Reimplemented from BaseBracket.
◆ inflection()
std::string BracketLeaf::inflection |
( |
| ) |
const |
|
inlinevirtual |
return the value of the inflexion (if any)
Reimplemented from BaseBracket.
◆ isglue()
bool BracketLeaf::isglue |
( |
| ) |
const |
|
inlinevirtual |
return tre if this is a glue tag
Reimplemented from BaseBracket.
◆ morpheme()
icu::UnicodeString BracketLeaf::morpheme |
( |
| ) |
const |
|
inlinevirtual |
return the value of the morpheme
Reimplemented from BaseBracket.
◆ original()
std::string BracketLeaf::original |
( |
| ) |
const |
|
inlinevirtual |
return the original value befor processing
Reimplemented from BaseBracket.
◆ pretty_put()
icu::UnicodeString BracketLeaf::pretty_put |
( |
| ) |
const |
|
virtual |
create a descriptive Unicode string representation for this object
Reimplemented from BaseBracket.
◆ put()
icu::UnicodeString BracketLeaf::put |
( |
bool |
full = true | ) |
const |
|
virtual |
create a Unicode string representation for this object
Reimplemented from BaseBracket.
The documentation for this class was generated from the following files: