Interface to matching related functionalites.
The following code can be used in order to obtain an instance of IMatchManager interface
IMatchManager mm=it.unitn.disi.smatch.MatchManager.getInstance();
Checks whether source sence less general than target
Currently used version of Java WordNet Interface Library finds more general relationships
(hypernymy and holonymy) faster than less general so this method
just flip the parameters and call isSourceMoreGeneralThanTarget method
This method perfoms all preprocessing procedures as follows:
- linguistic analysis (each lemma is associated with
the set of senses taken from the oracle).
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.
0th element of the Vector is filename to save mappings
1st element is char[][] CnodMatrix
2nd element is char[][] CLabMatrix
3rd element is Context sourceContext
4th element is Context targetContext
Other can be used for further parameters