public class Sentence extends Object implements Comparable
| Constructor and Description |
|---|
Sentence(ArrayList<Integer> tokens,
ArrayList<Integer> pos,
ArrayList<Integer> brownCluster4thPrefix,
ArrayList<Integer> brownCluster6thPrefix,
ArrayList<Integer> brownClusterFullString) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
boolean |
equals(Object obj) |
int[] |
getBrownCluster4thPrefix() |
int[] |
getBrownCluster6thPrefix() |
int[] |
getBrownClusterFullString() |
int[] |
getTags() |
int[] |
getWords() |
int |
hashCode() |
int |
posAt(int position) |
int |
size() |
public int size()
public int posAt(int position)
public int[] getWords()
public int[] getTags()
public int[] getBrownCluster4thPrefix()
public int[] getBrownCluster6thPrefix()
public int[] getBrownClusterFullString()
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2014–2021 码农场. All rights reserved.