Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.5.0
-
None
-
None
Description
How to reproduce
- Define entity with synonym `A`
- Ask "top 10 A" - the limit is not defined because 10 A skipped from numerics because of `10 A` detected as `10 amperes`
- See org.apache.nlpcraft.probe.mgrs.nlp.enrichers.limit.NCLimitEnricher; line val numsMap = NCNumericManager.find(ns).filter(_.unit.isEmpty).map(p ⇒ p.tokens → p).toMap