C# Class SNCT.JudgeOfRelevancy

Show file Open project: samueltenka/SNCT Class Usage Examples

Public Methods

Method Description
JudgeOfRelevancy ( SortedDictionary thesaurus_ ) : System
build_JoR ( ) : Task
get_direct_relevance ( String text, String query, HashSet query_content_words ) : double
get_synonyms ( String word ) : HashSet

Private Methods

Method Description
get_category_words_of ( String query ) : String[]
get_text ( String filename ) : Task
get_word_similarity ( String word1, String word2 ) : double

Method Details

JudgeOfRelevancy() public method

public JudgeOfRelevancy ( SortedDictionary thesaurus_ ) : System
thesaurus_ SortedDictionary
return System

build_JoR() public static method

public static build_JoR ( ) : Task
return Task

get_direct_relevance() public method

public get_direct_relevance ( String text, String query, HashSet query_content_words ) : double
text String
query String
query_content_words HashSet
return double

get_synonyms() public method

public get_synonyms ( String word ) : HashSet
word String
return HashSet