Méthode | Description | |
---|---|---|
GetNewWord ( ) : |
Returns a new empty node of the same type.
|
|
GetNewWord ( string text, PartOfSpeechTag tag ) : |
Returns a new node of the same type, containing the given text and part-of-speech tag.
|
|
GetParse ( ) : |
Returns a PhraseNode containing this WordNode.
|
|
IsAllCaps ( ) : bool |
Reports whether the word is in all caps.
|
|
Parse ( string source ) : |
Creates a WordNode by parsing the given string representation.
|
|
ToPlainString ( ) : string |
Returns the text of the word, with no added markup.
|
|
ToString ( ) : string |
Converts the WordNode to a string representation, containing the text and part-of-speech.
|
|
WordNode ( ) : System |
Creates a new WordNode with empty text. The part-of-speech is set to the default value of Unknown. The confidence is set to the default value of 0.0.
|
|
WordNode ( String text ) : System |
Creates a new WordNode. The part-of-speech is set to the default value of Unknown. The confidence is set to the default value of 0.0.
|
|
WordNode ( String text, PartOfSpeechTag tag ) : System |
Creates a new WordNode. The confidence is set to the default value of 0.0.
|
|
WordNode ( String text, PartOfSpeechTag tag, double confidence ) : System |
Creates a new WordNode.
|
public GetNewWord ( string text, PartOfSpeechTag tag ) : |
||
text | string | The text of the new word. |
tag | PartOfSpeechTag | the part-of-speech tag of the new word. |
Résultat |
public static Parse ( string source ) : |
||
source | string | The string to parse the WordNode from. |
Résultat |
public WordNode ( String text ) : System | ||
text | String | The actual text of the word. |
Résultat | System |
public WordNode ( String text, PartOfSpeechTag tag ) : System | ||
text | String | The actual text of the word. |
tag | PartOfSpeechTag | The part-of-speech of the word. |
Résultat | System |
public WordNode ( String text, PartOfSpeechTag tag, double confidence ) : System | ||
text | String | The actual text of the word. |
tag | PartOfSpeechTag | The part-of-speech of the word. |
confidence | double | A rating of the confidence of the part-of-speech tagging for this word. |
Résultat | System |