it.unitn.disi.smatch.utils
Class GenerateWordNetCaches

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

public class GenerateWordNetCaches
extends java.lang.Object

Converts WordNet to binary structures optimized for fast searches and used by InMemoryWordNetBinaryArray and preprocessors.

Author:
Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk, Aliaksandr Autayeu avtaev@gmail.com

Constructor Summary
GenerateWordNetCaches()
           
 
Method Summary
 void convert()
           
 void traverseListMG(java.util.HashSet<java.lang.Long> keys, PointerTargetNodeList pointers, long sourceOffset)
           
 void traverseListSym(java.util.HashSet<java.lang.Long> keys, PointerTargetNodeList pointers, long sourceOffset)
           
 void traverseTree(java.util.HashSet<java.lang.Long> keys, PointerTargetTree syn, long sourceOffset)
           
 void traverseTreeMG(java.util.HashSet<java.lang.Long> keys, PointerTargetTree syn, long sourceOffset)
           
 void writeNominalizations()
           
 void writeNounMG()
           
 void writeOppAdjectives()
           
 void writeOppAdverbs()
           
 void writeOppNouns()
           
 void writeSynonymsAdj()
           
 void writeVerbMG()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateWordNetCaches

public GenerateWordNetCaches()
Method Detail

convert

public void convert()
             throws SMatchException
Throws:
SMatchException

writeNominalizations

public void writeNominalizations()
                          throws SMatchException
Throws:
SMatchException

writeSynonymsAdj

public void writeSynonymsAdj()
                      throws SMatchException
Throws:
SMatchException

writeOppAdverbs

public void writeOppAdverbs()
                     throws SMatchException
Throws:
SMatchException

writeOppAdjectives

public void writeOppAdjectives()
                        throws SMatchException
Throws:
SMatchException

writeOppNouns

public void writeOppNouns()
                   throws SMatchException
Throws:
SMatchException

writeNounMG

public void writeNounMG()
                 throws SMatchException
Throws:
SMatchException

writeVerbMG

public void writeVerbMG()
                 throws SMatchException
Throws:
SMatchException

traverseListMG

public void traverseListMG(java.util.HashSet<java.lang.Long> keys,
                           PointerTargetNodeList pointers,
                           long sourceOffset)

traverseListSym

public void traverseListSym(java.util.HashSet<java.lang.Long> keys,
                            PointerTargetNodeList pointers,
                            long sourceOffset)

traverseTreeMG

public void traverseTreeMG(java.util.HashSet<java.lang.Long> keys,
                           PointerTargetTree syn,
                           long sourceOffset)

traverseTree

public void traverseTree(java.util.HashSet<java.lang.Long> keys,
                         PointerTargetTree syn,
                         long sourceOffset)


© 2010 Knowdive @ DISI