tests for composing decomposed suffixes

This commit is contained in:
Sarah Hoffmann
2021-06-15 08:59:03 +02:00
parent f70930b1a0
commit 0d80a9b897

View File

@@ -52,6 +52,8 @@ def test_simple_variants(cfgfile):
assert get_normalized_variants(proc, "Bauwegstr") == ['bauwegstr']
assert set(get_normalized_variants(proc, "holzweg")) \
== {'holz weg', 'holzweg'}
assert set(get_normalized_variants(proc, "Meier Weg")) \
== {'meier weg', 'meierweg'}
assert get_normalized_variants(proc, "hallo") == ['hallo']