C# Class Tagger, getputs

Summary description for Tagger
Afficher le fichier Open project: vatsal/getputs Class Usage Examples

Méthodes publiques

Méthode Description
GetImportantTagsDictionary ( List tokens, List posTags ) : string>.Dictionary
GetImportantTagsList ( List tokens, List posTags ) : List
GetPOSTags ( List words ) : List

Get the Part-Of-Speech Tags.

GetTokens ( string input, bool removeSingleCharacterSymbols, bool removeDuplicateTokens, bool convertTokensToLower ) : List
IsNumberToken ( string str ) : bool

Valid if the string is a number

Valid Numbers : digit(s) , digit(s)%, digit(s)/digit(s) or #digit(s)1st, Digit(s)"2nd", Digit(s)"3rd", Digit(s)th

LoadTagLexicon ( bool convertWordsToLower ) : string>.Dictionary
ReLoadLexiconHash ( ) : void
Tagger ( ) : System

Private Methods

Méthode Description
FormatInput ( string input ) : string
IsNumeric ( string str ) : bool
IsSymbolWord ( string word ) : bool

Method Details

GetImportantTagsDictionary() public méthode

public GetImportantTagsDictionary ( List tokens, List posTags ) : string>.Dictionary
tokens List
posTags List
Résultat string>.Dictionary

GetImportantTagsList() public méthode

public GetImportantTagsList ( List tokens, List posTags ) : List
tokens List
posTags List
Résultat List

GetPOSTags() public méthode

Get the Part-Of-Speech Tags.
public GetPOSTags ( List words ) : List
words List
Résultat List

GetTokens() public méthode

public GetTokens ( string input, bool removeSingleCharacterSymbols, bool removeDuplicateTokens, bool convertTokensToLower ) : List
input string
removeSingleCharacterSymbols bool
removeDuplicateTokens bool
convertTokensToLower bool
Résultat List

IsNumberToken() public static méthode

Valid if the string is a number
Valid Numbers : digit(s) , digit(s)%, digit(s)/digit(s) or #digit(s) 1st, Digit(s)"2nd", Digit(s)"3rd", Digit(s)th
public static IsNumberToken ( string str ) : bool
str string a string
Résultat bool

LoadTagLexicon() public méthode

public LoadTagLexicon ( bool convertWordsToLower ) : string>.Dictionary
convertWordsToLower bool
Résultat string>.Dictionary

ReLoadLexiconHash() public méthode

public ReLoadLexiconHash ( ) : void
Résultat void

Tagger() public méthode

public Tagger ( ) : System
Résultat System