public abstract class DicFeatures
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected java.lang.String[] |
features |
protected FeaturesReader |
fr |
protected java.lang.String |
pos |
static java.lang.String |
STAR |
コンストラクタと説明 |
---|
DicFeatures()
Constructor for instantiating the object from a record in binary file
|
DicFeatures(java.lang.String[] features,
int start,
java.util.Set<java.lang.Integer> starAsNullCols)
Constructor for instantiating the object from a record in a dictionary file (text file)
|
DicFeatures(java.lang.String surface,
java.lang.String reading,
int leftContextId,
int rightContextId,
int cost,
int start,
java.util.Set<java.lang.Integer> starAsNullCols)
Constructor for user defined word
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected boolean |
equals(DicFeatures o) |
protected java.lang.String |
getArg(int n) |
abstract java.lang.String |
getBaseForm() |
abstract java.lang.String |
getInflectionForm() |
abstract java.lang.String |
getInflectionType() |
abstract java.lang.String |
getPos() |
abstract java.lang.String |
getPronunciation() |
abstract java.lang.String |
getReading() |
abstract java.lang.String[] |
getUserDefinedParams(java.lang.String surface,
java.lang.String reading,
int leftContextId,
int rightContextId,
int cost) |
int |
hashCode() |
abstract boolean |
isStopToken() |
abstract void |
read(FeaturesReader fr,
java.nio.ByteBuffer buffer,
byte[] rub) |
java.lang.String |
toString() |
abstract int |
write(FeaturesWriter fw) |
public static final java.lang.String STAR
protected java.lang.String[] features
protected FeaturesReader fr
protected java.lang.String pos
public DicFeatures(java.lang.String[] features, int start, java.util.Set<java.lang.Integer> starAsNullCols)
features
- start
- starAsNullCols
- public DicFeatures(java.lang.String surface, java.lang.String reading, int leftContextId, int rightContextId, int cost, int start, java.util.Set<java.lang.Integer> starAsNullCols)
surface
- reading
- leftContextId
- rightContextId
- cost
- start
- starAsNullCols
- public DicFeatures()
public abstract int write(FeaturesWriter fw) throws java.io.IOException
java.io.IOException
public abstract void read(FeaturesReader fr, java.nio.ByteBuffer buffer, byte[] rub)
public abstract boolean isStopToken()
public abstract java.lang.String getPos()
public abstract java.lang.String getBaseForm()
public abstract java.lang.String getReading()
public abstract java.lang.String getPronunciation()
public abstract java.lang.String getInflectionType()
public abstract java.lang.String getInflectionForm()
public abstract java.lang.String[] getUserDefinedParams(java.lang.String surface, java.lang.String reading, int leftContextId, int rightContextId, int cost)
protected java.lang.String getArg(int n)
public java.lang.String toString()
toString
クラス内 java.lang.Object
protected boolean equals(DicFeatures o)
public int hashCode()
hashCode
クラス内 java.lang.Object
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.