Property | Type | Description | |
---|---|---|---|
categoryColumn | string | ||
connectionManager | IDbConnectionManager | ||
matchCountColumn | string | ||
nonMatchCountColumn | string | ||
tableName | string | ||
wordColumn | string |
Method | Description | |
---|---|---|
AddMatch ( string word ) : void | ||
AddMatch ( string category, string word ) : void | ||
AddNonMatch ( string word ) : void | ||
AddNonMatch ( string category, string word ) : void | ||
GetWordProbability ( string word ) : |
||
GetWordProbability ( string category, string word ) : |
||
OdbcWordsDataSource ( IDbConnectionManager conMgr ) : System | ||
OdbcWordsDataSource ( IDbConnectionManager conMgr, string aTableName, string aWordColumn, string aCategoryColumn, string aMatchCountColumn, string aNonMatchCountColumn ) : System |
Create a SqlWordsDataSource using the DEFAULT_CATEGORY ("DEFAULT")
|
Method | Description | |
---|---|---|
CreateTable ( ) : void |
Create the table if it does not already exist.
|
|
UpdateWordProbability ( string category, string word, bool isMatch ) : void |
public AddMatch ( string category, string word ) : void | ||
category | string | |
word | string | |
return | void |
public AddNonMatch ( string category, string word ) : void | ||
category | string | |
word | string | |
return | void |
public GetWordProbability ( string word ) : |
||
word | string | |
return |
public GetWordProbability ( string category, string word ) : |
||
category | string | |
word | string | |
return |
public OdbcWordsDataSource ( IDbConnectionManager conMgr ) : System | ||
conMgr | IDbConnectionManager | |
return | System |
public OdbcWordsDataSource ( IDbConnectionManager conMgr, string aTableName, string aWordColumn, string aCategoryColumn, string aMatchCountColumn, string aNonMatchCountColumn ) : System | ||
conMgr | IDbConnectionManager | The connection manager to use. |
aTableName | string | The name of the table storing word probabilities. |
aWordColumn | string | The word column. |
aCategoryColumn | string | The category column. |
aMatchCountColumn | string | The match count column. |
aNonMatchCountColumn | string | The non-match count column. |
return | System |
protected IDbConnectionManager connectionManager | ||
return | IDbConnectionManager |