Package org.nlpub.watset.util
Class ILEFormat
- java.lang.Object
-
- org.nlpub.watset.util.ILEFormat
-
public final class ILEFormat extends Object
Utilities for handling the ILE(identifier, length, elements)file format.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwrite(BufferedWriter writer, org.jgrapht.alg.interfaces.ClusteringAlgorithm.Clustering<String> clustering)Write the ILE-formatted file representing the clusters.
-
-
-
Field Detail
-
SEPARATOR
public static final String SEPARATOR
The default separator, expressed by the tab symbol.- See Also:
- Constant Field Values
-
DELIMITER
public static final String DELIMITER
The default delimiter, expressed by comma and space.- See Also:
- Constant Field Values
-
-
Method Detail
-
write
public static void write(BufferedWriter writer, org.jgrapht.alg.interfaces.ClusteringAlgorithm.Clustering<String> clustering)
Write the ILE-formatted file representing the clusters.- Parameters:
writer- the writerclustering- the clusters
-
-