it.polito.elite.doseWS.include
Class SynSemanticMapper

java.lang.Object
  extended byit.polito.elite.doseWS.include.SynSemanticMapper
All Implemented Interfaces:
SemanticMapper

public class SynSemanticMapper
extends java.lang.Object
implements SemanticMapper

Semantic Mapper based on the use of weighted synsets.


Constructor Summary
SynSemanticMapper()
          Constructor.
 
Method Summary
 java.util.Hashtable map(java.lang.String text, java.lang.String language)
          Maps a string of text in a given language to an Hashtable of weighted concepts of the ontology.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynSemanticMapper

public SynSemanticMapper()
Constructor.

Method Detail

map

public java.util.Hashtable map(java.lang.String text,
                               java.lang.String language)
Maps a string of text in a given language to an Hashtable of weighted concepts of the ontology.

Specified by:
map in interface SemanticMapper
Parameters:
text - A String of text
language - The language code
Returns:
The Hashtable of weighted concepts