| Package | Description |
|---|---|
| decoder | |
| extractors | |
| is2.data | |
| is2.parserR2 |
| Modifier and Type | Field and Description |
|---|---|
ArrayList<ParseNBest> |
ParallelRearrangeNBest2.parses |
ArrayList<ParseNBest> |
ParallelRearrangeNBest.parses |
| Modifier and Type | Method and Description |
|---|---|
void |
ExtractorReranker.extractFeatures(Instances is,
int i,
ParseNBest parse,
int rank,
long[] v,
Cluster cluster)
This works seem works well with n-best n=8 (88.858074) , n=10 (88.836884), n=12 (88.858)
n=14 (88.913417) n=16 (88.79546) n=20 (88.80621) n 50 (88.729364)
1-best: 88.749605
|
void |
ExtractorReranker.extractFeatures2(Instances is,
int i,
ParseNBest parse,
int rank,
long[] v) |
void |
ExtractorReranker.extractFeatures3(Instances is,
int i,
ParseNBest parse,
int rank,
long[] v) |
void |
ExtractorReranker.extractFeatures6(Instances is,
int i,
ParseNBest parse,
int rank,
long[] v)
Works well!
|
| Modifier and Type | Method and Description |
|---|---|
int |
ParseNBest.compareTo(ParseNBest o)
create a total order to provide replicable deterministic results
|
| Modifier and Type | Method and Description |
|---|---|
static List<ParseNBest> |
Decoder.decode(short[] pos,
DataF x,
boolean projective,
Extractor extractor)
Build a dependency tree based on the data
|
List<ParseNBest> |
Parser.parseNBest(SentenceData09 instance) |
List<ParseNBest> |
Reranker.parseNBest(SentenceData09 instance,
ParametersFloat params) |
static List<ParseNBest> |
Decoder.rearrangeNBest(short[] pos,
short[] heads,
short[] labs,
DataF x,
Extractor extractor)
This is the parallel non-projective edge re-arranger
|
static List<ParseNBest> |
Decoder.rearrangeNBestP(short[] pos,
short[] heads,
short[] labs,
DataF x,
Extractor extractor)
This is the parallel non-projective edge re-arranger
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Decoder.getError(ParseNBest parse,
Instances is,
int i,
boolean las) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Decoder.getGoldRank(List<ParseNBest> parses,
Instances is,
int i,
boolean las) |
static int |
Decoder.getSmallestError(List<ParseNBest> parses,
Instances is,
int i,
boolean las) |
Copyright © 2013. All rights reserved.