Interface IDictionary
Dictionary interface for retrieving morphological data by id.
Namespace: Lucene.Net.Analysis.Ja.Dict
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public interface IDictionary
  Methods
| Improve this Doc View SourceGetBaseForm(Int32, Char[], Int32, Int32)
Get base form of word.
Declaration
string GetBaseForm(int wordId, char[] surface, int off, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
| System.Char[] | surface | |
| System.Int32 | off | |
| System.Int32 | len | 
Returns
| Type | Description | 
|---|---|
| System.String | Base form (only different for inflected words, otherwise null).  | 
      
GetInflectionForm(Int32)
Get inflection form of tokens.
Declaration
string GetInflectionForm(int wordId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | Inflection form, or null.  | 
      
GetInflectionType(Int32)
Get inflection type of tokens.
Declaration
string GetInflectionType(int wordId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | Inflection type, or null.  | 
      
GetLeftId(Int32)
Get left id of specified word.
Declaration
int GetLeftId(int wordId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Int32 | Left id.  | 
      
GetPartOfSpeech(Int32)
Get Part-Of-Speech of tokens
Declaration
string GetPartOfSpeech(int wordId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | Part-Of-Speech of the token.  | 
      
GetPronunciation(Int32, Char[], Int32, Int32)
Get pronunciation of tokens
Declaration
string GetPronunciation(int wordId, char[] surface, int off, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
| System.Char[] | surface | |
| System.Int32 | off | |
| System.Int32 | len | 
Returns
| Type | Description | 
|---|---|
| System.String | Pronunciation of the token.  | 
      
GetReading(Int32, Char[], Int32, Int32)
Get reading of tokens.
Declaration
string GetReading(int wordId, char[] surface, int off, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
| System.Char[] | surface | |
| System.Int32 | off | |
| System.Int32 | len | 
Returns
| Type | Description | 
|---|---|
| System.String | Reading of the token.  | 
      
GetRightId(Int32)
Get right id of specified word.
Declaration
int GetRightId(int wordId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Int32 | Right id.  | 
      
GetWordCost(Int32)
Get word cost of specified word
Declaration
int GetWordCost(int wordId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | wordId | Word ID of token.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Int32 | Word's cost.  |