clips / pattern

Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.
https://github.com/clips/pattern/wiki
BSD 3-Clause "New" or "Revised" License
8.72k stars 1.58k forks source link

Conjugation of verbs with the ß in pattern.text.de appears to be broken #318

Open whiskahs opened 3 years ago

whiskahs commented 3 years ago

Attempting to conjugate verbs which contain the "ß" character results in a misspelling. Conjugating the same verb with "ss" in place of "ß" results in the correct spelling.

For example, "heißen" renders to "heeißen".

from pattern.text.de import conjugate

conjugate('heißt')
Out[3]: 'heeißen'

conjugate('heißen')
Out[4]: 'heeißen'

conjugate('heissen')
Out[5]: 'heissen'

conjugate('beißen')
Out[6]: 'beeißen'

conjugate('beissen')
Out[7]: 'beissen'