charliermarsh / semantic

A Python library for extracting semantic information from text, such as dates and numbers.
MIT License
74 stars 20 forks source link

Spelling mistake causes AttributeError "object has no attribute 'yaer'" #3

Open ntoll opened 10 years ago

ntoll commented 10 years ago

https://github.com/crm416/semantic/blob/master/semantic/dates.py#L405

should be:

y = d1.year == d2.year

(Spelling of d2.yaer)