|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.java.sen.dictionary.CToken
public final class CToken
Represents an entry in the token file. A CToken contains
fixed-length data used in Viterbi path cost calculation, and a pointer to
its linked variable-length morpheme data in the part-of-speech information
file. CTokens are wrapped within Nodes to form
the Viterbi lattice.
| フィールドの概要 | |
|---|---|
short |
cost
The cost of this CToken |
short |
lcAttr
Used in Viterbi path cost calculation |
short |
length
The length of the morpheme this CToken wraps |
int |
partOfSpeechIndex
The file index in the part-of-speech information file of the morpheme data this CToken wraps |
short |
rcAttr1
Used in Viterbi path cost calculation |
short |
rcAttr2
Used in Viterbi path cost calculation |
static long |
SIZE
The length in bytes of a stored CToken |
| コンストラクタの概要 | |
|---|---|
CToken()
|
|
| メソッドの概要 | |
|---|---|
protected CToken |
clone()
|
static CToken |
read(java.nio.ByteBuffer buffer)
Read a CToken from a ByteBuffer |
static void |
write(java.io.DataOutput output,
CToken token)
Write a CToken to a DataOutput |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final long SIZE
public short rcAttr2
public short rcAttr1
public short lcAttr
public short length
public short cost
public int partOfSpeechIndex
| コンストラクタの詳細 |
|---|
public CToken()
| メソッドの詳細 |
|---|
public static CToken read(java.nio.ByteBuffer buffer)
buffer - The ByteBuffer to read from
public static void write(java.io.DataOutput output,
CToken token)
throws java.io.IOException
output - The DataOutput to write totoken - The CToken to write
java.io.IOExceptionprotected CToken clone()
java.lang.Object 内の clone
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||