Closed jbgriesner closed 6 years ago
Thank you!
It's corrected by a98c1b8, I just released a version 0.6.2
which should be available with pip
.
PS: I am currently working on a new major version which should make parsing much closer to the specifications (see the new-parsing
branch). Unfortunatly, it won't be backward-compatible.
Let me know if there is still any problem. ;)
Great, it works fine now! Thanks for your fast answer. Looking forward to the new hoh version !
The OSM entry for the Louvre museum in Paris has the following
opening_hours
:"Mo,Th,Sa,Su 09:00-18:00; We,Fr 09:00-21:45; Tu off; Jan 1,May 1,Dec 25: off"
If you try to parse it with the hoh parser, you get the following error:
The problem is the colon at the end just before the "off" which is not allowed by your grammar and makes the hoh parser crashing to avoid confusion with "DIGITAL_MOMENT":
This colon is allowed by the specifications as a
separator_for_readability
though it's an optional token.Could you adapt your grammar to allow this separator ? Thanks :)