Skip to content

Conversation

nciric
Copy link
Contributor

@nciric nciric commented Apr 4, 2025

I generated lexicons from the latest (2025-04-02) Wikidata and attempted to fix the test failures. You can see them in the CI output (adding your proposed fix reduced them from 12 to 9). Guidance is appreciated.

Resolves issue #57

@nciric nciric requested a review from grhoten April 4, 2025 19:47
@grhoten grhoten changed the title Adding support for Swedish from Wikidata Inflection-57 Adding support for Swedish from Wikidata Apr 12, 2025
@@ -134,7 +134,7 @@ ::std::u16string SvGrammarSynthesizer_SvDisplayFunction::inflectWord(const ::std
::std::u16string definitenessString(GrammarSynthesizerUtil::getFeatureValue(constraints, &definitenessFeature));
::std::u16string caseString(GrammarSynthesizerUtil::getFeatureValue(constraints, &caseFeature));
auto genderString = GrammarSynthesizerUtil::getFeatureValue(constraints, &genderFeature);
if (genderString.empty()) {
if (genderString.empty() && GrammemeConstants::NUMBER_SINGULAR() == countString) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this line is also included in #106.

@nciric
Copy link
Contributor Author

nciric commented Apr 14, 2025 via email

@grhoten
Copy link
Member

grhoten commented Apr 14, 2025

I'll also take a look at 106

🫡

@nciric nciric merged commit 45e629d into main Apr 14, 2025
1 check passed
@nciric nciric deleted the sv-cira branch April 14, 2025 17:54
@nciric
Copy link
Contributor Author

nciric commented Apr 14, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants