ixc / python-edtf

MIT License
53 stars 19 forks source link

Natural language parser returns date that parse_edtf does not accept #38

Closed blms closed 3 months ago

blms commented 2 years ago

The following raises an EDTFParseException:

from edtf import text_to_edtf, parse_edtf
parsed_natural = text_to_edtf('circa 17th century')  # returns "16xx~"
parse_edtf(parsed_natural)  # raises EDTFParseException
aweakley commented 3 months ago

This is resolved in #56