lfoppiano / grobid-quantities

GROBID extension for identifying and normalizing physical quantities.
https://grobid-quantities.readthedocs.io
Apache License 2.0
74 stars 24 forks source link

Improve lexicon #134

Closed lfoppiano closed 2 years ago

lfoppiano commented 2 years ago

This PR solves the #97, in particular it fixes the decomposeComplexUnit by avoiding splitting units with more than one letter notation. E.g. AT/m will be splitted as AT and m instead of as A, T, and m which will lead to additional incorrect tokens

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.03%) to 26.917% when pulling 9ea29f35413ee7dbc2618e89e4085649ae97cafd on bugfix/lexicon-97 into d2240754d7031818b0c33d89e65921d4d0942967 on master.