NickCrews / spacy-address

Parse oneline US addresses using a spaCy NER model trained on OSM data
MIT License
5 stars 0 forks source link

Add Rule-Based Matching #1

Open NickCrews opened 1 month ago

NickCrews commented 1 month ago

Add in rule-based matching/EntityRuler to post-process the tagging. eg the "heights" in "16781 chagrin blvd, shaker heights, OH" is labeled wrong since there is eg "123 college heights blvd (StreetName) as well as "456 la mar heights" (StreetPostType). We know the order that labels should appear in an address, so we should take advantage of that.