nl.telin.mymedia.ontology
Class OntologyStemmer

java.lang.Object
  extended by nl.telin.mymedia.ontology.OntologyStemmer

public class OntologyStemmer
extends java.lang.Object

This class tries to add an altLAbelSg to the ontology based on prefLabel and altLabel. This is necessary because of the fact that most concepts are plural and need to be singular as well.


Constructor Summary
OntologyStemmer()
           
 
Method Summary
 void loadModel(java.lang.String path)
           
static void main(java.lang.String[] args)
           
 void processAll()
           
 void saveModel(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyStemmer

public OntologyStemmer()
Method Detail

loadModel

public void loadModel(java.lang.String path)
               throws java.io.IOException
Throws:
java.io.IOException

saveModel

public void saveModel(java.lang.String path)
               throws java.io.IOException
Throws:
java.io.IOException

processAll

public void processAll()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception