C# Class NClassifier.Bayesian.OdbcWordsDataSource

Inheritance: ICategorizedWordsDataSource
Afficher le fichier Open project: colin-dumitru/Proiect-AI-2012---GUI

Protected Properties

Свойство Type Description
categoryColumn string
connectionManager IDbConnectionManager
matchCountColumn string
nonMatchCountColumn string
tableName string
wordColumn string

Méthodes publiques

Méthode Description
AddMatch ( string word ) : void
AddMatch ( string category, string word ) : void
AddNonMatch ( string word ) : void
AddNonMatch ( string category, string word ) : void
GetWordProbability ( string word ) : WordProbability
GetWordProbability ( string category, string word ) : WordProbability
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")

Private Methods

Méthode Description
CreateTable ( ) : void

Create the table if it does not already exist.

UpdateWordProbability ( string category, string word, bool isMatch ) : void

Method Details

AddMatch() public méthode

public AddMatch ( string word ) : void
word string
Résultat void

AddMatch() public méthode

public AddMatch ( string category, string word ) : void
category string
word string
Résultat void

AddNonMatch() public méthode

public AddNonMatch ( string word ) : void
word string
Résultat void

AddNonMatch() public méthode

public AddNonMatch ( string category, string word ) : void
category string
word string
Résultat void

GetWordProbability() public méthode

public GetWordProbability ( string word ) : WordProbability
word string
Résultat WordProbability

GetWordProbability() public méthode

public GetWordProbability ( string category, string word ) : WordProbability
category string
word string
Résultat WordProbability

OdbcWordsDataSource() public méthode

public OdbcWordsDataSource ( IDbConnectionManager conMgr ) : System
conMgr IDbConnectionManager
Résultat System

OdbcWordsDataSource() public méthode

Create a SqlWordsDataSource using the DEFAULT_CATEGORY ("DEFAULT")
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.
Résultat System

Property Details

categoryColumn protected_oe property

protected string categoryColumn
Résultat string

connectionManager protected_oe property

protected IDbConnectionManager connectionManager
Résultat IDbConnectionManager

matchCountColumn protected_oe property

protected string matchCountColumn
Résultat string

nonMatchCountColumn protected_oe property

protected string nonMatchCountColumn
Résultat string

tableName protected_oe property

protected string tableName
Résultat string

wordColumn protected_oe property

protected string wordColumn
Résultat string