C# Class JiebaNet.Segmenter.Common.Trie

Inheritance: ITrie
Afficher le fichier Open project: anderscui/jieba.NET Class Usage Examples

Méthodes publiques

Méthode Description
ChildChars ( string prefix ) : IEnumerable
Contains ( string word ) : bool
ContainsPrefix ( string word ) : bool
Frequency ( string word ) : int
Insert ( string word, int freq = 1 ) : int
Trie ( ) : System

Private Methods

Méthode Description
CheckWord ( string word ) : void

Method Details

ChildChars() public méthode

public ChildChars ( string prefix ) : IEnumerable
prefix string
Résultat IEnumerable

Contains() public méthode

public Contains ( string word ) : bool
word string
Résultat bool

ContainsPrefix() public méthode

public ContainsPrefix ( string word ) : bool
word string
Résultat bool

Frequency() public méthode

public Frequency ( string word ) : int
word string
Résultat int

Insert() public méthode

public Insert ( string word, int freq = 1 ) : int
word string
freq int
Résultat int

Trie() public méthode

public Trie ( ) : System
Résultat System