Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[de] compound improvements #10311

Merged
merged 35 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c7fe5f4
[de] take old refactor code
affemitkaraffe Feb 8, 2024
2a38cf2
[de] update infix files and verb stem lists
affemitkaraffe Feb 13, 2024
6f025c2
[de] make infix s checks stricter
affemitkaraffe Feb 21, 2024
8bc8a39
[de] require infix s for certain suffixes
affemitkaraffe Feb 21, 2024
60b06d0
[de] make SUB:NOM:SIN default for first part of a compound
affemitkaraffe Mar 7, 2024
3dafa34
[de] update infix s list
affemitkaraffe Mar 19, 2024
635f580
[de] improve infix s for '...tag' (Sonntagnachmittag, SonntagSfahrer)
affemitkaraffe Apr 2, 2024
f36961f
[de] part1 needs to be plural in some cases
affemitkaraffe Apr 2, 2024
7d10f32
[de] don't allow old spelling
affemitkaraffe Apr 9, 2024
2565454
[de] improve recognition of gender neutral compounds
affemitkaraffe Apr 10, 2024
132607f
[de] improve gender-neutral compounds + Link/Links
affemitkaraffe Apr 23, 2024
605bbac
[de] update POS tags, verb stems, ...
affemitkaraffe Apr 25, 2024
08a1279
[de] update lists
affemitkaraffe Apr 26, 2024
55b9dda
[de] improve singular/plural
affemitkaraffe May 7, 2024
2627181
[de] *part1*s that do not have a POS tag
affemitkaraffe May 17, 2024
2c70f09
[de] diff fixes
affemitkaraffe Jun 15, 2024
2cd7e2c
resolve conflicts
affemitkaraffe Jun 19, 2024
4816ba8
add morphologically correct but semantically incorrect compounds
affemitkaraffe Jun 20, 2024
bb85e7a
review changes
affemitkaraffe Jun 20, 2024
ff5fd8c
renaming
affemitkaraffe Jun 20, 2024
267bb23
[de] add comments to .txt lists + small improvements
affemitkaraffe Jun 26, 2024
1252359
merge
affemitkaraffe Jun 26, 2024
3a55ef0
adapt to naming conventions
affemitkaraffe Jun 26, 2024
628710b
remove checks for 'has no infix s' because default is 'has no infix s'
affemitkaraffe Jun 26, 2024
70a6f92
test cases to cover more code + remove unused code
affemitkaraffe Jun 26, 2024
ecf793c
Links can be derived from Link or links
affemitkaraffe Jun 26, 2024
e70d21d
remove unused files
affemitkaraffe Jun 26, 2024
c0983af
remove unused files
affemitkaraffe Jun 26, 2024
775f5bc
add missing words from unused files
affemitkaraffe Jun 27, 2024
70a0003
undo some review changes
affemitkaraffe Jun 27, 2024
35c1cd9
precompile regex
affemitkaraffe Jun 27, 2024
46918dd
Merge remote-tracking branch 'origin/master' into affe071
affemitkaraffe Jun 27, 2024
41e2f31
merge
affemitkaraffe Jun 27, 2024
593eee7
merge conflicts
affemitkaraffe Jul 10, 2024
52c98d0
prefer abscheide over abscheid
affemitkaraffe Jul 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,39 @@ public GermanCompoundTokenizer(boolean strictMode) throws IOException {
wordSplitter.addException("Festigung", asList("Festigung"));
wordSplitter.addException("Allerheiligen", asList("Allerheiligen"));
wordSplitter.addException("Druckerpressen", asList("Drucker", "pressen"));
wordSplitter.addException("Habitat", asList("Habitat"));
affemitkaraffe marked this conversation as resolved.
Show resolved Hide resolved
wordSplitter.addException("Augarten", asList("Augarten"));
wordSplitter.addException("Auszeit", asList("Auszeit"));
wordSplitter.addException("Bewegtbild", asList("Bewegt", "bild"));
wordSplitter.addException("Bigband", asList("Bigband"));
wordSplitter.addException("Bisexuelle", asList("Bisexuelle"));
wordSplitter.addException("Bisexuellen", asList("Bisexuellen"));
wordSplitter.addException("Bunsenbrenner", asList("Bunsenbrenner")); // avoid "Bunsenweisheit"
wordSplitter.addException("Carbon", asList("Carbon"));
wordSplitter.addException("Carsharing", asList("Carsharing"));
wordSplitter.addException("Castor", asList("Castor"));
wordSplitter.addException("Catering", asList("Catering"));
wordSplitter.addException("Cholesterin", asList("Cholesterin"));
wordSplitter.addException("Damast", asList("Damast"));
wordSplitter.addException("Dispositiv", asList("Dispositiv"));
wordSplitter.addException("Emittent", asList("Emittent"));
wordSplitter.addException("Emittenten", asList("Emittenten"));
wordSplitter.addException("Express", asList("Express"));
wordSplitter.addException("Fairness", asList("Fairness"));
wordSplitter.addException("Fiberglas", asList("Fiberglas")); // avoid "Fiberthermometer"
wordSplitter.addException("Globus", asList("Globus"));
wordSplitter.addException("Göttinnen", asList("Göttinnen"));
wordSplitter.addException("Illustration", asList("Illustration"));
wordSplitter.addException("Muttertag", asList("Muttertag")); // "Muttertag" needs infix s
wordSplitter.addException("Muttertags", asList("Muttertags")); // "Muttertag" needs infix s
wordSplitter.addException("Patriarchen", asList("Patriarchen"));
wordSplitter.addException("Phosgen", asList("Phosgen"));
wordSplitter.addException("Vatertag", asList("Vatertag")); // "Vatertag" needs infix s
wordSplitter.addException("Vatertags", asList("Vatertags")); // "Vatertag" needs infix s
wordSplitter.addException("Vaterland", asList("Vaterland"));
wordSplitter.addException("Vaterlands", asList("Vaterlands"));
wordSplitter.addException("Wehrmacht", asList("Wehrmacht"));
wordSplitter.addException("Wehrmachts", asList("Wehrmachts"));
}

@Override
Expand Down
Loading