-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix multiple slavic language issues, minor cosmetic change (#180)
* improve russian form handling, write tests Fixed Russian forms being improperly marked as lemmas. Wrote tests. * add missing common russian case, write tests * filter `dated` inflection tag, add test * improve noun gender coloring Changed masculine, feminine, and neuter tag coloring to something more visually pleasing. * add missing noun gender and verb aspect Extracts noun gender and verb aspect from headword `expansion`. Should work excellent for Slavic languages, and even Latin.
- Loading branch information
Showing
15 changed files
with
2,314 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"masc": ".tag[data-details='masculine'] .tag-label{background-color: blue;}", | ||
"fem": ".tag[data-details='feminine'] .tag-label{background-color: red;}", | ||
"neut": ".tag[data-details='neuter'] .tag-label{background-color: green;}" | ||
"masc": ".tag[data-details='masculine'] .tag-label{background-color: #4d82e8;}", | ||
"fem": ".tag[data-details='feminine'] .tag-label{background-color: #ca4d93;}", | ||
"neut": ".tag[data-details='neuter'] .tag-label{background-color: #40ac65;}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
[ | ||
[ | ||
"masc", | ||
"", | ||
-1, | ||
"masculine", | ||
1 | ||
], | ||
[ | ||
"inanim", | ||
"", | ||
0, | ||
"inanimate", | ||
0 | ||
], | ||
[ | ||
"n", | ||
"partOfSpeech", | ||
-1, | ||
"noun", | ||
1 | ||
], | ||
[ | ||
"fig", | ||
"", | ||
0, | ||
"figuratively", | ||
0 | ||
], | ||
[ | ||
"sl", | ||
"", | ||
0, | ||
"slang", | ||
0 | ||
], | ||
[ | ||
"pf", | ||
"", | ||
0, | ||
"perfective", | ||
0 | ||
], | ||
[ | ||
"v", | ||
"partOfSpeech", | ||
-1, | ||
"verb", | ||
1 | ||
], | ||
[ | ||
"col", | ||
"", | ||
0, | ||
"colloquial", | ||
0 | ||
], | ||
[ | ||
"impers", | ||
"", | ||
0, | ||
"impersonal", | ||
0 | ||
], | ||
[ | ||
"reltnl", | ||
"", | ||
0, | ||
"relational", | ||
0 | ||
], | ||
[ | ||
"adj", | ||
"partOfSpeech", | ||
-1, | ||
"adjective", | ||
1 | ||
] | ||
] |
Oops, something went wrong.