-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1114 from hubtype/contentful/uk
chore(nlp): Ukrainian tokenizer, stemmer and stopwords added
- Loading branch information
Showing
9 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
76 changes: 76 additions & 0 deletions
76
packages/botonic-plugin-contentful/src/nlp/stopwords/stopwords-uk.ts
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,76 @@ | ||
// from https://github.com/stopwords-iso/stopwords-uk/blob/master/stopwords-uk.json | ||
export const ukDefaultStopWords = [ | ||
'авжеж', | ||
'адже', | ||
'але', | ||
'б', | ||
'без', | ||
'був', | ||
'була', | ||
'були', | ||
'було', | ||
'бути', | ||
'більш', | ||
'вам', | ||
'вас', | ||
'весь', | ||
'вздовж', | ||
'ви', | ||
'вниз', | ||
'внизу', | ||
'вона', | ||
'вони', | ||
'воно', | ||
'все', | ||
'всередині', | ||
'всіх', | ||
'від', | ||
'він', | ||
'да', | ||
'давай', | ||
'давати', | ||
'де', | ||
'дещо', | ||
'для', | ||
'до', | ||
'з', | ||
'завжди', | ||
'замість', | ||
'й', | ||
'коли', | ||
'ледве', | ||
'майже', | ||
'ми', | ||
'навколо', | ||
'навіть', | ||
'нам', | ||
'от', | ||
'отже', | ||
'отож', | ||
'поза', | ||
'про', | ||
'під', | ||
'та', | ||
'так', | ||
'такий', | ||
'також', | ||
'те', | ||
'ти', | ||
'тобто', | ||
'тож', | ||
'тощо', | ||
'хоча', | ||
'це', | ||
'цей', | ||
'чи', | ||
'чого', | ||
'що', | ||
'як', | ||
'який', | ||
'якої', | ||
'є', | ||
'із', | ||
'інших', | ||
'їх', | ||
'її', | ||
] |
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
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