it.unitn.disi.smatch.utils
Class SMatchUtils

java.lang.Object
  extended by it.unitn.disi.smatch.utils.SMatchUtils

public class SMatchUtils
extends java.lang.Object

Utility class.

Author:
Aliaksandr Autayeu avtaev@gmail.com

Constructor Summary
SMatchUtils()
           
 
Method Summary
static void configureLog4J()
           
static java.util.Hashtable<java.lang.String,java.util.Vector<java.util.Vector<java.lang.String>>> readHash(java.lang.String fileName)
          Loads the hashtable with multiwords the multiwords are stored in the following format Key-the first word in the multiwords Value-Vector of Vectors, which contain the other words in the all the multiwords starting from the word in Key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMatchUtils

public SMatchUtils()
Method Detail

readHash

public static java.util.Hashtable<java.lang.String,java.util.Vector<java.util.Vector<java.lang.String>>> readHash(java.lang.String fileName)
Loads the hashtable with multiwords the multiwords are stored in the following format Key-the first word in the multiwords Value-Vector of Vectors, which contain the other words in the all the multiwords starting from the word in Key.

Parameters:
fileName - file name
Returns:
multiwords hastable

configureLog4J

public static void configureLog4J()


© 2010 Knowdive @ DISI