Xponents 3.5 "Begin Again"
Happy New Year
Xponents 3.5.4 BeginAgain
- Full Evaluation: internal evaluation work was redone start to finish to hone outlier gazetteer entries and
patterns of rogue entries from new data sources. Evaluation work called out and fixed serious false-positive and recall
errors - Log4J Remediation: While Log4J is not the primary choice of logging facility, it is a dependency that appears
mainly in the Solr 7.x server distribution. Vulnerable Log4J JAR files were removed and latest ones were injected. - API Changes:
TextEntity
is a text span and requires a start, end offset pair. Only constructor
requires that pair. Other subclasses can have a zero argument constructor by exception, such asPoLiMatch
GeonamesUtility.isCountry()
now only returns true forPCLI
entries others are historical country names or territories.- REST API now has
method
andmatch-id
on most matches to be more consistent
DISTRIBUTIONS:
- Python: See attached Opensextant Python API 1.4.5
- Docker: https://hub.docker.com/r/mubaldino/opensextant - see "xponents-3.5" tag
- Gazetteer: see Docker image; Copy
xponents-solr
out of docker image to use it outside of Docker - Java, Maven:
TESTING:
Deploy: https://github.com/OpenSextant/Xponents/blob/master/Examples/Docker/docker-compose.yml
Install client library
pip3 install opensextant-1.4.5.tar.gz
Use Test suite: https://github.com/OpenSextant/Xponents/blob/master/test/xlayer-test-suite.py
DEFAULT_URL=localhost:8787
python3 xlayer-test-suite.py $DEFAULT_URL
Test output:
- Consult docker logs on docker container, ala
docker logs xponents
to see that server is alive - Review output to console -- unit tests results for normal geotagging, postal geotagging and tests in Arabic and Japanese should appear.