Skip to content

chore(nlp): Slovenian added to contenful#1247

Merged
elozano98 merged 2 commits intomasterfrom
contentful/sl
Jan 18, 2021
Merged

chore(nlp): Slovenian added to contenful#1247
elozano98 merged 2 commits intomasterfrom
contentful/sl

Conversation

@elozano98
Copy link
Copy Markdown
Contributor

@elozano98 elozano98 commented Jan 14, 2021

Description

Slovenian tokenizer, stemmer, and stopwords have been added to contentful nlp.

Context

Adding them will make it possible to process Slovenian text.

Approach taken / Explain the design

The tokenizer and the stemmer used are from the nlpjs library while the stopwords have been collected from here.

Testing

The pull request...

  • has unit tests

@elozano98 elozano98 changed the title wip(nlp): tokenizer, stemmer and stopwords added wip(nlp): Slovenian tokenizer, stemmer and stopwords added Jan 14, 2021
@elozano98 elozano98 changed the title wip(nlp): Slovenian tokenizer, stemmer and stopwords added wip(nlp): Slovenian added to contenful Jan 14, 2021
@elozano98 elozano98 marked this pull request as draft January 15, 2021 07:58
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 15, 2021

Codecov Report

Merging #1247 (c839d58) into master (7e05cbd) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1247      +/-   ##
==========================================
+ Coverage   64.51%   64.55%   +0.03%     
==========================================
  Files         229      230       +1     
  Lines        6422     6429       +7     
  Branches     1115     1115              
==========================================
+ Hits         4143     4150       +7     
- Misses       1966     1967       +1     
+ Partials      313      312       -1     
Flag Coverage Δ
botonic-plugin-contentful 71.07% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...kages/botonic-plugin-contentful/src/nlp/locales.ts 100.00% <100.00%> (ø)
...kages/botonic-plugin-contentful/src/nlp/stemmer.ts 95.34% <100.00%> (+0.22%) ⬆️
...lugin-contentful/src/nlp/stopwords/stopwords-sl.ts 100.00% <100.00%> (ø)
...ckages/botonic-plugin-contentful/src/nlp/tokens.ts 95.69% <100.00%> (+0.14%) ⬆️
...plugin-contentful/src/contentful/cms-contentful.ts 87.62% <0.00%> (-1.04%) ⬇️
...lugin-contentful/src/contentful/contents/button.ts 78.84% <0.00%> (+1.92%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e05cbd...c839d58. Read the comment docs.

@elozano98 elozano98 marked this pull request as ready for review January 15, 2021 11:12
@elozano98 elozano98 changed the title wip(nlp): Slovenian added to contenful chore(nlp): Slovenian added to contenful Jan 15, 2021
@elozano98 elozano98 merged commit eef7226 into master Jan 18, 2021
@elozano98 elozano98 deleted the contentful/sl branch January 18, 2021 08:41
@elozano98 elozano98 added the documentation Documentation changes label Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants