Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Commit 7bbe7c2

Browse files
Merge pull request #130 from wiki-ai/spanish_minor_fix
Adds is_informal_word to list of utilities for spanish.
2 parents 8199ef1 + bd01877 commit 7bbe7c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

revscoring/languages/spanish.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,5 @@ def is_stopword(word):
117117
is_stopword = LanguageUtility("is_stopword", is_stopword_process)
118118

119119
spanish = Language("revscoring.languages.spanish",
120-
[stem_word, is_badword, is_misspelled, is_stopword])
120+
[stem_word, is_badword, is_informal_word, is_misspelled,
121+
is_stopword])

0 commit comments

Comments
 (0)