| Modifier and Type | Field and Description |
|---|---|
static int |
_CEND |
static int |
_FC |
HashMap<Integer,Integer> |
form2morph |
Long2IntInterface |
li |
MFO |
mf |
static short |
s_char |
static short |
s_dir |
static short |
s_dist |
static short |
s_feat |
static short |
s_pos |
static short |
s_type |
static short |
s_word |
String[] |
types |
| Constructor and Description |
|---|
Pipe(Options options,
Long2Int long2Int) |
Pipe(OptionsSuper options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCF(InstancesTagger is,
int ic,
String fs,
int i,
int[] pfeat,
short[] ppos,
int[] forms,
int[] lemmas,
long[] vs) |
Instances |
createInstances(String file) |
int |
fillFeatureVectorsOne(ParametersFloat params,
int w1,
String form,
Instances is,
int n,
int[] features,
long[] vs) |
void |
initFeatures()
Initialize the features types.
|
void |
initValues() |
void |
readMap(DataInputStream dis)
Read the form-lemma mapping not read by operations
|
void |
write(DataOutputStream dos) |
void |
writeMap(DataOutputStream dos)
Write the lemma that are not mapped by operations
|
getSecondsPerInstnace, getUsedTime, outValue, outValue, outValueErr, outValueErr, outValueErrpublic static int _CEND
public String[] types
public final MFO mf
public Long2IntInterface li
public static short s_feat
public static short s_word
public static short s_type
public static short s_dir
public static short s_dist
public static short s_char
public static short s_pos
public static int _FC
public Pipe(Options options, Long2Int long2Int) throws IOException
IOExceptionpublic Pipe(OptionsSuper options)
public Instances createInstances(String file)
createInstances in interface IPipepublic void initValues()
initValues in interface IPipepublic void initFeatures()
initFeatures in interface IPipepublic final void addCF(InstancesTagger is, int ic, String fs, int i, int[] pfeat, short[] ppos, int[] forms, int[] lemmas, long[] vs)
public int fillFeatureVectorsOne(ParametersFloat params, int w1, String form, Instances is, int n, int[] features, long[] vs)
public void writeMap(DataOutputStream dos)
dos - public void readMap(DataInputStream dis)
dis - public void write(DataOutputStream dos)
Copyright © 2013. All rights reserved.