An open API service indexing awesome lists of open source software.

https://github.com/matmoore/morph

Utility for generating variations of Korean words
https://github.com/matmoore/morph

korean nlp

Last synced: about 1 year ago
JSON representation

Utility for generating variations of Korean words

Awesome Lists containing this project

README

          

# Morph

Utility for generating variations of Korean words.

This is intended to be used for matching words as they appear in the dictionary to tokens in text (어절).
For example, the sentence "우리는 오늘 동해로 간다" contains

- "우리는" which is a combination of "우리" plus the particle "는"
- "동해로" which is a combination of "동해" plus the particle "로"

## Install
- `pip install morph_ko`

## Usage

- morph_noun() generates variations of nouns with particles applied based on whether the noun ends in a vowel or a consonent

## See also

- [KoParadigm](https://github.com/Kyubyong/KoParadigm) generates inflected forms of verbs