Hi, I have problems with using the Custom NER Model Extraction Engine [1]. Basically, no entities are not found, even though the underlying model is correct.
Here's what I did: 1. I build a custom NER model for places from geonames.org according to the OpenNLP website [2]. I tested my model with the OpenNLP command line tool, and it worked (i.e. I give my model a text and the entities are found correctly). 2. I copied the model to both ./launchers/stanbol/datafiles/geonames.bin and ./enhancement-engines/topic/engine/sling/datafiles/geonames.bin. 3. In the Apache Felix Web Console Configuration, I created a new "Custom NER Model" with the following settings: - name: Geonames NER - Name Finder Model: geonames.bin - Type Mappings: place > http://dbpedia.org/ontology/Place - Ranking: -100 4. I build a new enhancement chain with: tika, langdetect, opennlp-sentence, opennlp-token, opennlp-pos, opennlp-ner, geonames-ner, geonames 5. Server restart 6. I send the exactly same string as in 1. when I tested the model, but no entities are found. Any hint would be useful! How can I check, that Stanbol correctly finds my geonames.bin file? If I intentionally add a file which does not exist, no error occurs. Thanks in advance Stefan [1] https://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpcustomner [2] http://sourceforge.net/apps/mediawiki/opennlp/index.php?title=Name_Finder