C# Class Yamool.CWSharp.WordDict

Datei anzeigen Open project: zhengchun/CWSharp Class Usage Examples

Public Methods

Method Description
Add ( string word, int frequency ) : void
Contains ( string word ) : bool
LoadFrom ( Stream input ) : WordDict
Remove ( string word ) : void
SaveTo ( Stream output ) : void
WordDict ( ) : System

Private Methods

Method Description
AddInternal ( string word, int frequency ) : void

Method Details

Add() public method

public Add ( string word, int frequency ) : void
word string
frequency int
return void

Contains() public method

public Contains ( string word ) : bool
word string
return bool

LoadFrom() public static method

public static LoadFrom ( Stream input ) : WordDict
input Stream
return WordDict

Remove() public method

public Remove ( string word ) : void
word string
return void

SaveTo() public method

public SaveTo ( Stream output ) : void
output Stream
return void

WordDict() public method

public WordDict ( ) : System
return System