Skip to content

macmillancontentscience/wikimorphemes

Repository files navigation

wikimorphemes

Lifecycle: experimental

The goal of wikimorphemes is to provide tools for extracting morphemes from Wiktionary entries. The wikimorphemes api is not yet stable and may change.

Installation

You can install the released version of wikimorphemes from CRAN with:

# No you can't.
#install.packages("wikimorphemes")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("macmillancontentscience/wikimorphemes")

Examples

The main function in wikimorphemes is process_word.

library(wikimorphemes)
process_word("unaffable")
#>    prefix base_word 
#>     "un-" "affable"
process_word("understandable")
#>    base_word       suffix 
#> "understand"      "-able"
process_word("standing")
#>  base_word inflection 
#>    "stand"     "-ing"

Contributing to {wikimorphemes}

If you are going to work on this package, please begin by running download_wikimorphemes_lookup(). This will download the latest cached version of the lookup (10.7MB), which will then be used in tests.

Code of Conduct

Please note that the wikimorphemes project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

Extracting Morphemes from Wiktionary Entries

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages