public final class Cluster extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LPATH |
static String |
SPATH |
| Constructor and Description |
|---|
Cluster() |
Cluster(DataInputStream dis)
Read the cluster
|
Cluster(String clusterFile,
IEncoderPlus mf,
int ls) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLP(int form)
get the long path to a word form in the cluster
|
int |
getLP(int form,
int l) |
int |
size() |
void |
write(DataOutputStream dos)
Write the cluster
|
public static final String LPATH
public static final String SPATH
public Cluster()
public Cluster(String clusterFile, IEncoderPlus mf, int ls)
clusterFile - mf - public Cluster(DataInputStream dis) throws IOException
dos - IOExceptionpublic void write(DataOutputStream dos) throws IOException
dos - IOExceptionpublic final int getLP(int form)
form - the id of a word formpublic final int getLP(int form,
int l)
public final int size()
Copyright © 2013. All rights reserved.