Class UnknownDictionary
Dictionary for unknown-word handling.
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Ja.Dict
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public class UnknownDictionary : BinaryDictionary, IDictionary
Properties
CharacterDefinition
Dictionary for unknown-word handling.
Declaration
public virtual CharacterDefinition CharacterDefinition { get; }
Property Value
| Type | Description |
|---|---|
| CharacterDefinition |
Instance
Dictionary for unknown-word handling.
Declaration
public static UnknownDictionary Instance { get; }
Property Value
| Type | Description |
|---|---|
| UnknownDictionary |
Methods
GetInflectionForm(int)
Get inflection form of tokens.
Declaration
public override string GetInflectionForm(int wordId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | wordId | Word ID of token. |
Returns
| Type | Description |
|---|---|
| string | Inflection form, or null. |
Overrides
GetInflectionType(int)
Get inflection type of tokens.
Declaration
public override string GetInflectionType(int wordId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | wordId | Word ID of token. |
Returns
| Type | Description |
|---|---|
| string | Inflection type, or null. |
Overrides
GetReading(int, char[], int, int)
Get reading of tokens.
Declaration
public override string GetReading(int wordId, char[] surface, int off, int len)
Parameters
| Type | Name | Description |
|---|---|---|
| int | wordId | Word ID of token. |
| char[] | surface | |
| int | off | |
| int | len |
Returns
| Type | Description |
|---|---|
| string | Reading of the token. |
Overrides
Lookup(char[], int, int)
Dictionary for unknown-word handling.
Declaration
public virtual int Lookup(char[] text, int offset, int len)
Parameters
| Type | Name | Description |
|---|---|---|
| char[] | text | |
| int | offset | |
| int | len |
Returns
| Type | Description |
|---|---|
| int |