-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for unit type numbered #87
Conversation
This looks very promising 👀 |
I think I will merge this this week and do another PR for #69 if everything is OK 😄 |
Yeah very nice, could you please update the We use that in |
Are you OK with this one ? U for both |
Different result order between node 10 and node 12 🤦♂️ |
Should be ok now 😄 |
Nice, yeah that all looks great ⭐ |
Additional test case |
This new test is passing 👍 But if I merge this now, it will fail new test from #88 because there are 4 children
|
We've never had 'words' with overlapping character ranges before:
Is it possible to remove the |
This was introduced in #56, I named it Now we should navigate through the graph. I fixed the test 😄 |
Cool 👍 we can address the graph relationships in #47 |
Hi there !
I added some support for
unit
🎉Classifications
UnitTypeClassification
: public classifications for types likeunit
,apt
...UnitClassification
: public classification for unit numbersClassifiers
UnitTypeClassifier
: classify a UnityType thanks to libpostalunit_types_numbered.txt
(I removedstop
andshop
)UnitClassifier
: classify a Unit, this must be after a unit typeUnitTypeUnitClassifier
: complex classifier for units likeU12
. This will parse a span and will add two new spansU
and12
in the section with the proper classification.This fixes #71 and need more work for #69