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
- Host: GitHub
- URL: https://github.com/matmoore/morph
- Owner: MatMoore
- Created: 2022-12-31T23:05:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T17:35:19.000Z (over 3 years ago)
- Last Synced: 2025-03-09T00:33:52.753Z (about 1 year ago)
- Topics: korean, nlp
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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