public class PairwiseMutualInformationMode extends Object implements TwitterTokenMode
| Constructor and Description |
|---|
PairwiseMutualInformationMode() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
finalOutput(HadoopTwitterTokenToolOptions opts)
Drive the provided output mode with the final product of the tool
|
void |
perform(HadoopTwitterTokenToolOptions opts) |
static BufferedReader |
sortedPMIReader(File outputLocation) |
public PairwiseMutualInformationMode()
public void perform(HadoopTwitterTokenToolOptions opts) throws Exception
perform in interface TwitterTokenModeException - something went wrong!public String[] finalOutput(HadoopTwitterTokenToolOptions opts) throws Exception
TwitterTokenModefinalOutput in interface TwitterTokenModeopts - the output can be found in opts.outputMode()Exceptionpublic static BufferedReader sortedPMIReader(File outputLocation) throws IOException
IOException