Don't like ads? PRO users don't see any ads ;-)
Guest

ICategory

By: a guest on May 1st, 2010  |  syntax: VB.NET  |  size: 0.44 KB  |  hits: 128  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Namespace BayesClassifier
  2.  
  3.     Public Interface ICategory
  4.  
  5.         ReadOnly Property Name() As String
  6.         ReadOnly Property TotalWords() As Integer
  7.         Sub Reset()
  8.         Function GetPhraseCount(ByVal phrase As String) As Integer
  9.         Sub TeachCategory(ByVal reader As System.IO.TextReader)
  10.         Sub TeachPhrase(ByVal rawPhrase As String)
  11.         Sub TeachPhrases(ByVal words() As String)
  12.  
  13.     End Interface
  14.  
  15. End Namespace