SerenitySoftware / cahoots

A Text Comprehension Engine in Python
MIT License
15 stars 3 forks source link

Implement hierarchical parser confidence #99

Closed hickeroar closed 9 years ago

hickeroar commented 9 years ago

Essentially what this means is that the presence of certain results can affect the confidence rating of other results.

If something is 90% certain to be an integer, 60% certain to be a postal code, and 30% certain to be a date, we would probably boost the confidence that it's a date and/or postal code, but reduce the likelihood that it's an integer.

Yes, it's an integer, but we're more interested in what the end-user would expect it to be.