|
Natural Language Processing
0.1.0
|
The SyntaxWord class Container for a Word and a Syntax Identifier. More...
#include <syntaxword.h>
Public Member Functions | |
| SyntaxWord () | |
| SyntaxWord::SyntaxWord Default Constructor. | |
| SyntaxWord (const SyntaxObject &so, const Word &word) | |
| SyntaxWord::SyntaxWord Constructor. More... | |
| bool | isHeadWord (const GrammarPhrase &gp) const |
| SyntaxWord::isHeadWord Checks if the word is a head word of the given grammar phrase. More... | |
| void | setWord (const Word &W) |
| SyntaxWord::setWord Sets the word. More... | |
| Word | getWord () const |
| SyntaxWord::getWord Returns the word. More... | |
| void | setSyntax (SyntaxObject S) |
| SyntaxWord::setSyntax Sets the Syntax. More... | |
| SyntaxObject | getSyntax () const |
| SyntaxWord::getSyntax Returns the Syntax. More... | |
| string | getSyntaxEncoding () const |
| similar to getSyntax, but return the mapped string to SyntaxObject | |
| SyntaxWord & | operator= (const SyntaxWord &other) |
| SyntaxWord::operator =. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const SyntaxWord &S) |
The SyntaxWord class Container for a Word and a Syntax Identifier.
| SyntaxWord::SyntaxWord | ( | const SyntaxObject & | so, |
| const Word & | word | ||
| ) |
SyntaxWord::SyntaxWord Constructor.
| so | Syntax Indentifier |
| word | the Word |
| SyntaxObject SyntaxWord::getSyntax | ( | ) | const |
SyntaxWord::getSyntax Returns the Syntax.
| Word SyntaxWord::getWord | ( | ) | const |
SyntaxWord::getWord Returns the word.
| bool SyntaxWord::isHeadWord | ( | const GrammarPhrase & | gp | ) | const |
SyntaxWord::isHeadWord Checks if the word is a head word of the given grammar phrase.
| gp | grammar phrase |
| SyntaxWord & SyntaxWord::operator= | ( | const SyntaxWord & | other | ) |
| void SyntaxWord::setSyntax | ( | SyntaxObject | S | ) |
SyntaxWord::setSyntax Sets the Syntax.
| S | the Syntax |
| void SyntaxWord::setWord | ( | const Word & | W | ) |
SyntaxWord::setWord Sets the word.
| W | the word |
1.8.6