[ 
https://issues.apache.org/jira/browse/OPENNLP-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Giaconia closed OPENNLP-694.
---------------------------------

    Resolution: Fixed

done, used a basic regex

> GeoEntityLinker gazatteerSearcher should sanitize lucene query strings
> ----------------------------------------------------------------------
>
>                 Key: OPENNLP-694
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-694
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Entity Linker
>    Affects Versions: addons-1.6.0
>         Environment: java 7
>            Reporter: Mark Giaconia
>            Assignee: Mark Giaconia
>            Priority: Minor
>             Fix For: addons-1.6.0
>
>
> Currently the GeoEntityLinker takes Namefinder results and passes them 
> directly to the GazetteerSearcher class. Noisy NER results can cause lucene 
> syntax errors to be thrown and logged. A simple regex cleanup of the input 
> would be helpful.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to