예제 #1
0
 def __init__(self, path=os.path.join(MODULE, "sentiment.xml"), **kwargs):
     # Use Dutch XML corpus.
     # Use synset id's from Cornetto instead of WordNet.
     kwargs.setdefault("synsets", "cornetto_synset_id")
     _Lexicon.__init__(self, path, **kwargs)
예제 #2
0
 def __init__(self, path=os.path.join(MODULE, "sentiment.xml"), **kwargs):
     # Use French XML corpus.
     _Lexicon.__init__(self, path, **kwargs)
예제 #3
0
 def __init__(self, path=os.path.join(MODULE, "sentiment.xml"), **kwargs):
     # Use Dutch XML corpus.
     # Use synset id's from Cornetto instead of WordNet. 
     kwargs.setdefault("synsets", "cornetto_synset_id")
     _Lexicon.__init__(self, path, **kwargs)
예제 #4
0
 def __init__(self, path=os.path.join(MODULE, "sentiment.xml"), **kwargs):
     # Use French XML corpus.
     _Lexicon.__init__(self, path, **kwargs)