public final class Decoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static float |
NON_PROJECTIVITY_THRESHOLD
Threshold for rearrange edges non-projective
|
static long |
timeDecotder |
static long |
timeRearrange |
static boolean |
TRAINING |
| Modifier and Type | Method and Description |
|---|---|
static Parse |
decode(short[] pos,
DataFES x,
boolean projective,
boolean training)
Build a dependency tree based on the data
|
static String |
getInfo() |
static void |
rearrange(short[] pos,
short[] heads,
short[] labs,
DataFES x,
boolean training)
This is the parallel non-projective edge re-arranger
|
public static final boolean TRAINING
public static long timeDecotder
public static long timeRearrange
public static float NON_PROJECTIVITY_THRESHOLD
public static Parse decode(short[] pos, DataFES x, boolean projective, boolean training) throws InterruptedException
pos - part-of-speech tagsx - the dataprojective - projective or non-projectiveedges - the edgesInterruptedExceptionpublic static void rearrange(short[] pos,
short[] heads,
short[] labs,
DataFES x,
boolean training)
throws InterruptedException
pos - part-of-speech tagsheads - parent child relationlabs - edge labelsx - the dataedges - the existing edges defined by part-of-speech tagsInterruptedExceptionpublic static String getInfo()
Copyright © 2013. All rights reserved.