C# Class SNCT.PhraseGraph

显示文件 Open project: samueltenka/SNCT Class Usage Examples

Public Properties

Property Type Description
query String
query_content_words HashSet

Public Methods

Method Description
PhraseGraph ( JudgeOfRelevancy JoR_, String text, String q, HashSet q_content_words ) : System
build_PG ( String text, String q, HashSet q_content_words ) : Task
ensure_phrase ( String text ) : Phrase
get_sentences ( String text ) : String[]
get_top ( int n ) : double>.SortedDictionary
get_words ( String text ) : String[]
step ( double dt ) : void

Method Details

PhraseGraph() public method

public PhraseGraph ( JudgeOfRelevancy JoR_, String text, String q, HashSet q_content_words ) : System
JoR_ JudgeOfRelevancy
text String
q String
q_content_words HashSet
return System

build_PG() public static method

public static build_PG ( String text, String q, HashSet q_content_words ) : Task
text String
q String
q_content_words HashSet
return Task

ensure_phrase() public method

public ensure_phrase ( String text ) : Phrase
text String
return Phrase

get_sentences() public static method

public static get_sentences ( String text ) : String[]
text String
return String[]

get_top() public method

public get_top ( int n ) : double>.SortedDictionary
n int
return double>.SortedDictionary

get_words() public static method

public static get_words ( String text ) : String[]
text String
return String[]

step() public method

public step ( double dt ) : void
dt double
return void

Property Details

query public_oe property

public String query
return String

query_content_words public_oe property

public HashSet query_content_words
return HashSet