public abstract class TransitionBasedParser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AveragedPerceptron |
classifier
Any kind of classifier that can give us scores
|
protected ArrayList<Integer> |
dependencyRelations |
protected int |
featureLength |
protected IndexMaps |
maps |
| Constructor and Description |
|---|
TransitionBasedParser(AveragedPerceptron classifier,
ArrayList<Integer> dependencyRelations,
int featureLength,
IndexMaps maps) |
protected AveragedPerceptron classifier
protected int featureLength
protected IndexMaps maps
public TransitionBasedParser(AveragedPerceptron classifier, ArrayList<Integer> dependencyRelations, int featureLength, IndexMaps maps)
public String idWord(int id)
Copyright © 2014–2021 码农场. All rights reserved.