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] ignore english words in german texts (base code) #10606

Merged
merged 8 commits into from
Jun 26, 2024

Conversation

St-ac-y
Copy link
Collaborator

@St-ac-y St-ac-y commented May 22, 2024

to do:

  • create separate entities (noun + non-noun) (not needed)
  • filter words in entities
  • adjust rules
  • Problem: non-noun at SENT_START (AP, exception)

@St-ac-y St-ac-y added the German label May 22, 2024
@St-ac-y St-ac-y self-assigned this May 22, 2024
@jaumeortola

This comment was marked as resolved.

@St-ac-y St-ac-y requested a review from Luisa-LT June 7, 2024 10:47
@Luisa-LT
Copy link
Collaborator

Sag Bescheid, wann der PR ready to review ist (perfektes Beispiel für die Regel :D )
image

@St-ac-y
Copy link
Collaborator Author

St-ac-y commented Jun 25, 2024

@Luisa-LT kann gereviewt werden. Der PR läuft auch heute noch auf der api11. Da könntest du auch noch mal testen, ob es funktioniert.

Copy link
Collaborator

@Luisa-LT Luisa-LT left a comment

Choose a reason for hiding this comment

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

Zu den Tests und Java-Files kann ich jetzt nicht viel sagen, bzgl. der Entities müsste man noch überlegen, wie man mit engl. Nouns umgeht: Eig. sollten die im Dt. ja dann auch großgeschrieben werden, z. B.: Career, Military, Husband … so wie es jetzt ist, würde die Kleinschreibung akzeptiert werden, oder?

@St-ac-y
Copy link
Collaborator Author

St-ac-y commented Jun 26, 2024

Zu den Tests und Java-Files kann ich jetzt nicht viel sagen, bzgl. der Entities müsste man noch überlegen, wie man mit engl. Nouns umgeht: Eig. sollten die im Dt. ja dann auch großgeschrieben werden, z. B.: Career, Military, Husband … so wie es jetzt ist, würde die Kleinschreibung akzeptiert werden, oder?

Ja, denn ready for review und ready for Review kann beides akzeptabel sein. Obwohl ich sogar Option 1 mittlerweile besser finde, weil es halt um eine englische Phrase, nicht um einzelne Wörter, geht und da ist es immer klein)

@St-ac-y St-ac-y requested a review from Luisa-LT June 26, 2024 11:05
@St-ac-y St-ac-y merged commit 28b6981 into languagetool-org:master Jun 26, 2024
2 checks passed
@St-ac-y St-ac-y deleted the ignore_english_words_DE branch June 26, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants