C# Class Tagger, getputs

Summary description for Tagger
ファイルを表示 Open project: vatsal/getputs Class Usage Examples

Public Methods

Method 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

Method Description
FormatInput ( string input ) : string
IsNumeric ( string str ) : bool
IsSymbolWord ( string word ) : bool

Method Details

GetImportantTagsDictionary() public method

public GetImportantTagsDictionary ( List tokens, List posTags ) : string>.Dictionary
tokens List
posTags List
return string>.Dictionary

GetImportantTagsList() public method

public GetImportantTagsList ( List tokens, List posTags ) : List
tokens List
posTags List
return List

GetPOSTags() public method

Get the Part-Of-Speech Tags.
public GetPOSTags ( List words ) : List
words List
return List

GetTokens() public method

public GetTokens ( string input, bool removeSingleCharacterSymbols, bool removeDuplicateTokens, bool convertTokensToLower ) : List
input string
removeSingleCharacterSymbols bool
removeDuplicateTokens bool
convertTokensToLower bool
return List

IsNumberToken() public static method

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
return bool

LoadTagLexicon() public method

public LoadTagLexicon ( bool convertWordsToLower ) : string>.Dictionary
convertWordsToLower bool
return string>.Dictionary

ReLoadLexiconHash() public method

public ReLoadLexiconHash ( ) : void
return void

Tagger() public method

public Tagger ( ) : System
return System