Method | Description | |
---|---|---|
Add ( string str, List |
Maps the specified word to the specified list of cursorPosition in a sequence.
|
|
Clear ( ) : void |
Clears this FrequencyDictionary so that it contains no words.
|
|
Clone ( ) : |
The clone.
|
|
Contains ( List |
Returns true if this FrequencyDictionary contains the specified word. More formally, returns true if and only if this FrequencyDictionary contains at least one word.
|
|
Contains ( string str ) : bool |
Returns true if this FrequencyDictionary contains the specified word. More formally, returns true if and only if this FrequencyDictionary contains at least one word.
|
|
Equals ( |
The equals.
|
|
Fill ( |
Extracts new words and their places of occurrence from a current word sequence
|
|
Fill ( string str ) : void |
Extracts new chars and their places of occurrence from a current char sequence
|
|
FrequencyDictionary ( ) : System |
Initializes a new instance of the FrequencyDictionary class.
|
|
FrequencyDictionary ( |
Initializes a new instance of the FrequencyDictionary class.
|
|
FrequencyDictionary ( string source ) : System |
Initializes a new instance of the FrequencyDictionary class.
|
|
GetWord ( int index ) : string |
Returns the word to the index at a given
|
|
GetWords ( ) : List |
Returns a list of words of this FrequencyDictionary. Be careful! The new word can not be added to the end of the list as the data are hashed
|
|
GetWordsPositions ( ) : List
|
Returns all words positions
|
|
Put ( string str, int pos ) : void |
Maps the specified word to the specified cursorPosition in a sequence.
|
|
Remove ( string str ) : void |
Removes the word (and its corresponding a list of positions) from this FrequencyDictionary. This method does nothing if the key is not in the FrequencyDictionary.
|
|
SortByPower ( ) : List |
The sort by power.
|
|
this ( string str ) : List |
Returns the list of positions to which the specified word is mapped, or null if this FrequencyDictionary contains no mapping for the word.
|
public Add ( string str, List |
||
str | string | the new word |
pos | List |
word's positions in the sequence |
return | void |
public Contains ( List |
||
str | List |
/// word is built from letters /// whose presence in this FrequencyDictionary is to be tested /// |
return | bool |
public Contains ( string str ) : bool | ||
str | string | word whose presence in this FrequencyDictionary is to be tested |
return | bool |
public Equals ( |
||
other | /// The other frequency dictionary. /// | |
return | bool |
public Fill ( |
||
sequence | the current word sequence | |
return | void |
public Fill ( string str ) : void | ||
str | string | the current char sequence |
return | void |
public FrequencyDictionary ( |
||
sequence | /// The sequence. /// | |
return | System |
public FrequencyDictionary ( string source ) : System | ||
source | string | /// The source string. /// |
return | System |
public GetWord ( int index ) : string | ||
index | int | a specified cursorPosition of word |
return | string |
public Put ( string str, int pos ) : void | ||
str | string | a new word |
pos | int | a cursorPosition of the word in the sequence |
return | void |
public Remove ( string str ) : void | ||
str | string | the word that needs to be removed |
return | void |
public this ( string str ) : List |
||
str | string | the word whose associated the list of positions is to be returned |
return | List |