GreynirEngine icon indicating copy to clipboard operation
GreynirEngine copied to clipboard

Use company suffix abbreviations to label company entities

Open jokull opened this issue 4 years ago • 2 comments

I’m writing some code to detect mentions of companies. The corpus uses the ehf/of/sf/etc. suffixes so that’s a strong indicator for me, and potentially for Greynir too.

I know that the Greynir website has an entity recognizer, but it seems quite strongly coupled to the database. Is there a case for bintokenizer to adapt a new token type? Or perhaps for Greynir to become company-entity aware?

I have some interesting examples of company names if that’s useful. I’m currently using an imperfect regex to match company names and then using Greynir to go back to the indefinite form.

  • Miðbæjarhótel/Centerhotels ehf.
  • Reitir - hótel ehf.
  • 105 Miðborg slhf.
  • Faxaflóahafnir sf.
  • Bjarg íbúðafélag hses.
  • Efstaleitis Apótek ehf.
  • Íþrótta- og sýningahöllin hf.
  • V-16 ehf.

These are the suffixes I’ve come across:

  • ehf.
  • slhf.
  • sf.
  • hses.
  • hf.
  • ohf.
  • bs.

jokull avatar May 15 '20 12:05 jokull