public abstract class Tagger extends Object
| Constructor and Description |
|---|
Tagger() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String str) |
boolean |
add(String[] strArr) |
double |
alpha(int i,
int j) |
int |
answer(int i) |
double |
bestCost(int i,
int j) |
double |
beta(int i,
int j) |
boolean |
clear() |
void |
close() |
int |
dsize() |
double |
emissionCost(int i,
int j) |
List<Integer> |
emissionVector(int i,
int j) |
boolean |
empty() |
boolean |
next() |
double |
nextTransitionCost(int i,
int j,
int k) |
List<Integer> |
nextTransitionVector(int i,
int j,
int k) |
boolean |
open(FeatureIndex featureIndex,
int nbest,
int vlevel) |
boolean |
open(FeatureIndex featureIndex,
int nbest,
int vlevel,
double costFactor) |
boolean |
open(String arg) |
boolean |
open(String[] args) |
boolean |
parse() |
String |
parse(String str) |
String |
parse(String str,
int size) |
String |
parse(String str,
int size1,
String result,
int size2) |
double |
penalty(int i,
int j) |
double |
prevTransitionCost(int i,
int j,
int k) |
List<Integer> |
prevTransitionVector(int i,
int j,
int k) |
double |
prob() |
double |
prob(int i) |
double |
prob(int i,
int j) |
int |
result(int i) |
void |
setPenalty(int i,
int j,
double penalty) |
int |
size() |
String |
toString() |
String |
toString(String result,
int size) |
float[] |
weightVector() |
String |
x(int i,
int j) |
int |
xsize() |
int |
y(int i) |
String |
y2(int i) |
String |
yname(int i) |
int |
ysize() |
double |
Z() |
public boolean open(String[] args)
public boolean open(FeatureIndex featureIndex, int nbest, int vlevel, double costFactor)
public boolean open(FeatureIndex featureIndex, int nbest, int vlevel)
public boolean open(String arg)
public boolean add(String[] strArr)
public void close()
public float[] weightVector()
public boolean add(String str)
public int size()
public int xsize()
public int dsize()
public int result(int i)
public int answer(int i)
public int y(int i)
public String y2(int i)
public String yname(int i)
public String x(int i, int j)
public int ysize()
public double prob(int i,
int j)
public double prob(int i)
public double prob()
public double alpha(int i,
int j)
public double beta(int i,
int j)
public double emissionCost(int i,
int j)
public double nextTransitionCost(int i,
int j,
int k)
public double prevTransitionCost(int i,
int j,
int k)
public double bestCost(int i,
int j)
public double Z()
public boolean parse()
public boolean empty()
public boolean clear()
public boolean next()
public void setPenalty(int i,
int j,
double penalty)
public double penalty(int i,
int j)
Copyright © 2014–2021 码农场. All rights reserved.