Blog Archives

Replacing abbreviations via Python and regular expressions

When gambling around with NLP and text corpora in Python, I frequently face simple abbreviations like “z.B.”, the german equivalent of “i.e.”, which I sometimes want to expand. This is a handy (german) utility-method expanding the defined abbrevations, via regular

Tagged with: , , ,
Posted in Development, Python