Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

add Dutch no vowel or consonant doubling exception #432

Closed
wants to merge 194 commits into from

Conversation

FAMarfuaty
Copy link
Contributor

Summary

This PR can be summarized below:

  • adds exception check for words that does not need to undergo consonant doubling before attaching certain suffixes (i.e. -en, -end, -e, -er, -ere) or to undergo vowel doubling after deleting suffixes in stemming process.

Test instructions

This PR can be tested by following these steps:

  • add more words from noVowelOrConsonantDoubling list in stemming exception to addVerbSuffixesSpec, addNounSuffixesSpec and addAdjectiveSuffixesSpec.
  • take words from noun category to be added to addNounSuffixesSpec, and so forth.
  • add more words from noVowelOrConsonantDoubling list (from any category) in stemming exception to stemSpec.

Quality assurance

  • I have tested this code to the best of my abilities
  • I have added unittests to verify the code works as intended

Fixes #416

agnieszkaszuba and others added 30 commits May 28, 2019 17:47
Co-Authored-By: nataliashitova <[email protected]>
Fitria Marfuaty and others added 28 commits December 9, 2019 13:29
…6-dutch-noVOwelOrConsonantDoubling-exception
…avascript into 416-dutch-noVOwelOrConsonantDoubling-exception
…avascript into 416-dutch-noVOwelOrConsonantDoubling-exception
…6-dutch-noVOwelOrConsonantDoubling-exception
…avascript into 416-dutch-noVOwelOrConsonantDoubling-exception
…avascript into 416-dutch-noVOwelOrConsonantDoubling-exception
…avascript into 416-dutch-noVOwelOrConsonantDoubling-exception
@FAMarfuaty FAMarfuaty added this to the Dutch morphology milestone Jan 8, 2020
@FAMarfuaty FAMarfuaty closed this Jan 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no vowel or consonant doubling exception checks
6 participants