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