| Package | Description |
|---|---|
| extractors | |
| is2.data | |
| is2.io | |
| is2.lemmatizer | |
| is2.mtag | |
| is2.parser | |
| is2.parserR2 | |
| is2.tag | |
| is2.tools |
| Modifier and Type | Method and Description |
|---|---|
FV |
ExtractorClusterStacked.encodeCat(Instances is,
int ic,
short[] pposs,
int[] forms,
int[] lemmas,
short[] heads,
short[] types,
short[][] feats,
Cluster cluster,
FV f) |
FV |
ExtractorClusterStackedR2.encodeCat(Instances is,
int ic,
short[] pposs,
int[] forms,
int[] lemmas,
short[] heads,
short[] types,
short[][] feats,
Cluster cluster,
FV f) |
FV |
Extractor.encodeCat(Instances is,
int n,
short[] pos,
int[] is2,
int[] is3,
short[] heads,
short[] labels,
short[][] s,
Cluster cl,
FV pred) |
IFV |
ExtractorClusterStacked.encodeCat2(Instances is,
int ic,
short[] pposs,
int[] forms,
int[] lemmas,
short[] heads,
short[] types,
short[][] feats,
Cluster cluster,
IFV f,
Long2IntInterface li) |
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!
|
void |
ExtractorClusterStacked.firstm(Instances is,
int i,
int prnt,
int dpnt,
int label,
Cluster cluster,
long[] f) |
void |
ExtractorClusterStackedR2.firstm(Instances is,
int i,
int prnt,
int dpnt,
int label,
Cluster cluster,
long[] f) |
void |
Extractor.firstm(Instances is,
int i,
int w1,
int w2,
int j,
Cluster cluster,
long[] svs) |
void |
ExtractorClusterStacked.gcm(Instances is,
int i,
int p,
int d,
int gc,
int label,
Cluster cluster,
long[] f) |
void |
ExtractorClusterStackedR2.gcm(Instances is,
int i,
int p,
int d,
int gc,
int label,
Cluster cluster,
long[] f) |
void |
Extractor.gcm(Instances is,
int i,
int w1,
int w2,
int g,
int j,
Cluster cluster,
long[] svs) |
void |
ExtractorClusterStacked.siblingm(Instances is,
int i,
short[] pos,
int[] forms,
int[] lemmas,
short[][] feats,
int prnt,
int d,
int sblng,
int label,
Cluster cluster,
long[] f,
int v) |
void |
ExtractorClusterStackedR2.siblingm(Instances is,
int i,
short[] pos,
int[] forms,
int[] lemmas,
short[][] feats,
int prnt,
int d,
int sblng,
int label,
Cluster cluster,
long[] f,
int v) |
void |
Extractor.siblingm(Instances is,
int i,
short[] pos,
int[] forms,
int[] lemmas,
short[][] feats,
int w1,
int w2,
int g,
int j,
Cluster cluster,
long[] svs,
int n) |
| Constructor and Description |
|---|
ParallelExtract(Extractor e,
Instances is,
int i,
DataF d,
F2SF para,
Cluster cluster,
Long2IntInterface li) |
| Modifier and Type | Class and Description |
|---|---|
class |
InstancesTagger |
| Modifier and Type | Method and Description |
|---|---|
void |
ParametersFloat.update(FVR act,
FVR pred,
Instances isd,
int instc,
Parse dx,
double upd,
double e,
float lam_dist) |
| Modifier and Type | Method and Description |
|---|---|
SentenceData09 |
CONLLReader06.getNext(Instances is)
Read a instance an store it in a compressed format
|
SentenceData09 |
CONLLReader09.getNext(Instances is)
Read a instance an store it in a compressed format
|
SentenceData09 |
CONLLReader08.getNext(Instances is)
Read a instance an store it in a compressed format
|
SentenceData09 |
CONLLReader04.getNext(Instances is)
Read a instance an store it in a compressed format
|
boolean |
CONLLReader06.insert(Instances is,
SentenceData09 it) |
boolean |
CONLLReader09.insert(Instances is,
SentenceData09 it) |
boolean |
CONLLReader08.insert(Instances is,
SentenceData09 it) |
boolean |
CONLLReader04.insert(Instances is,
SentenceData09 it) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Pipe.getOperation(Instances is,
int n,
int k,
String[] wds) |
void |
Lemmatizer.train(OptionsSuper options,
IPipe p,
ParametersFloat params,
Instances ist)
Do the training
|
| Modifier and Type | Method and Description |
|---|---|
Instances |
Pipe.createInstances(String file) |
Instances |
ExtractorM.createInstances(String file) |
| Modifier and Type | Method and Description |
|---|---|
int |
Pipe.fillFeatureVectorsOne(ParametersFloat params,
int w1,
String form,
Instances is,
int n,
int[] features,
long[] vs) |
int |
ExtractorM.fillFeatureVectorsOne(ParametersFloat params,
int w1,
String form,
Instances is,
int n,
short[] features,
long[] vs) |
void |
Tagger.train(OptionsSuper options,
IPipe pipe,
ParametersFloat params,
Instances is) |
| Modifier and Type | Field and Description |
|---|---|
Instances |
Parser.is |
| Modifier and Type | Method and Description |
|---|---|
void |
Extractor.compare(Instances is,
int ic,
short[] pos,
short[] heads,
short[] types,
Cluster cluster,
F2SF f,
DataFES x) |
void |
Pipe.createInstances(String file,
Instances is) |
FV |
Extractor.encodeCat(Instances is,
int ic,
short[] pposs,
int[] forms,
int[] lemmas,
short[] heads,
short[] types,
short[][] feats,
Cluster cluster,
FV f) |
double |
Pipe.errors(Instances is,
int ic,
Parse p) |
DataFES |
Pipe.fillVector(F2SF params,
Instances is,
int inst,
DataFES d,
Cluster cluster) |
int |
Extractor.firstm(Instances is,
int i,
int prnt,
int dpnt,
int label,
Cluster cluster,
long[] f) |
protected SentenceData09 |
Pipe.nextInstance(Instances is,
CONLLReader09 depReader)
Creates an instance for outputParses
|
short[] |
Extractor.searchLabel(Instances is,
int ic,
short[] pposs,
int[] forms,
int[] lemmas,
short[] heads,
short[] types,
short[][] feats,
Cluster cluster,
IFV f) |
int |
Extractor.second(Instances is,
int i,
int p,
int d,
int x,
int label,
Cluster cluster,
long[] f) |
void |
Parser.train(OptionsSuper options,
Pipe pipe,
ParametersFloat params,
Instances is,
Cluster cluster)
Do the training
|
void |
ParametersFloat.update(FV act,
FV pred,
Instances isd,
int instc,
Parse d,
double upd,
double e) |
abstract void |
Parameters.update(FV act,
FV pred,
Instances isd,
int instc,
Parse d,
double upd,
double e) |
| Constructor and Description |
|---|
ParallelExtract(Extractor e,
Instances is,
int i,
DataFES d,
F2SF para,
Cluster cluster) |
| Modifier and Type | Method and Description |
|---|---|
void |
Pipe.createInstances(String file,
Instances is) |
void |
PipeReranker.createInstances(String file,
Instances is) |
double |
Pipe.errors(Instances is,
int ic,
Parse p)
the loss function
|
DataF |
Pipe.fillVector(F2SF params,
Instances is,
int inst,
DataF d,
Cluster cluster,
int threads,
Long2IntInterface li) |
static int |
Decoder.getError(ParseNBest parse,
Instances is,
int i,
boolean las) |
static int |
Decoder.getGoldRank(List<ParseNBest> parses,
Instances is,
int i,
boolean las) |
void |
Pipe.getInstances(String file,
Instances is) |
static int |
Decoder.getSmallestError(List<ParseNBest> parses,
Instances is,
int i,
boolean las) |
protected SentenceData09 |
Pipe.nextInstance(Instances is,
CONLLReader09 depReader)
Creates an instance for outputParses
|
void |
Reranker.train(OptionsSuper options,
Instances[] iss)
Do the training
|
void |
Parser.train(OptionsSuper options,
Pipe pipe,
ParametersFloat params,
Instances is,
Cluster cluster)
Do the training
|
void |
ParametersFloat.update(FV act,
FV pred,
Instances isd,
int instc,
Parse dx,
double upd,
double e) |
abstract void |
Parameters.update(FV act,
FV pred,
Instances isd,
int instc,
Parse d,
double upd,
double e) |
void |
ParametersFloat.update(FV act,
FV pred,
Instances isd,
int instc,
Parse dx,
double upd,
double e,
float d,
float f) |
void |
ParametersFloat.update(FVR act,
FVR pred,
Instances isd,
int instc,
Parse dx,
double upd,
double e,
float lam_dist) |
| Modifier and Type | Method and Description |
|---|---|
Instances |
ExtractorT2.createInstances(String file) |
Instances |
ExtractorT2.createInstances(String file,
int skipStart,
int skipEnd) |
| Modifier and Type | Method and Description |
|---|---|
void |
Tagger.train(OptionsSuper options,
IPipe pipe,
ParametersFloat params,
Instances is2)
Do the training
|
| Modifier and Type | Method and Description |
|---|---|
Instances |
IPipe.createInstances(String file) |
| Modifier and Type | Method and Description |
|---|---|
void |
Train.train(OptionsSuper options,
IPipe pipe,
ParametersFloat params,
Instances is) |
Copyright © 2013. All rights reserved.