Open rushdishams opened 6 years ago
Hey!
What do you mean by "does not work"?
We simply take the argument and pass it on to the request (https://github.com/ubergrape/pyspotlight/blob/master/spotlight/__init__.py#L145). So if you see any error there, it might be due to the dbpedia server and not our code.
Hello, in the annotator function parameter, I was not able to use any of the following spotters except the Default:
"LingPipeSpotter", "AtLeastOneNounSelector", "CoOccurrenceBasedSelector", "NESpotter", "KeyphraseSpotter", "OpenNLPChunkerSpotter", "WikiMarkupSpotter", "SpotXmlParser", "AhoCorasickSpotter", "Default"
Is there any work around?
annotations = spotlight.annotate(localhost, text, confidence=confidence, support=support_cutoff, spotter='AtLeastOneNounSelector)
does not work. But If I take out the spotter argument completely or usespotter='Default'
, it works.