Skip to content

Added support for adjectives, adverbs, conjunctions, interjections, n…#1317

Merged
kingthorin merged 2 commits intomainfrom
words
Aug 5, 2024
Merged

Added support for adjectives, adverbs, conjunctions, interjections, n…#1317
kingthorin merged 2 commits intomainfrom
words

Conversation

@bodiam
Copy link
Copy Markdown
Contributor

@bodiam bodiam commented Aug 5, 2024

@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented Aug 5, 2024

PR Summary

  • Introduction of the 'word()' method to 'BaseProviders' class
    We have built in a new functionality to our toolset by adding a 'word()' method to the 'BaseProviders' class. This method gives users access to a new 'Word' class, broadening the scope of data they can work with.

  • Inception of the 'Word' class
    Our codebase now boasts a completely new class named 'Word' that inherits from the 'AbstractProvider' class. This inclusion equips users with functions to retrieve different types of words, thereby enhancing their linguistic operations.

  • Updates to the 'EnFile' class
    We've refreshed the 'EnFile' class to include a fresh "words.yml" file, aligning it with our latest additions and maintaining its relevancy.

  • Addition of 'WordTest' class
    To assure the newly added 'Word' class functions are performing as expected, we've introduced a 'WordTest' class for extensive testing. This ensures smooth operations when our users leverage this new 'Word' functionality.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.80%. Comparing base (9cfcfdf) to head (b3090d6).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1317      +/-   ##
============================================
- Coverage     91.82%   91.80%   -0.02%     
- Complexity     3096     3104       +8     
============================================
  Files           311      312       +1     
  Lines          6090     6100      +10     
  Branches        631      631              
============================================
+ Hits           5592     5600       +8     
- Misses          342      343       +1     
- Partials        156      157       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kingthorin
Copy link
Copy Markdown
Collaborator

I'll try to review this in the next few hours.

@bodiam
Copy link
Copy Markdown
Contributor Author

bodiam commented Aug 5, 2024

I'll try to review this in the next few hours.

Thanks! I'm expecting I'll add another, similar one to this.

@kingthorin kingthorin merged commit 91879cd into main Aug 5, 2024
@kingthorin kingthorin deleted the words branch August 5, 2024 13:00
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