https://github.com/sublee/josa
Appends the correct korean postposition
https://github.com/sublee/josa
Last synced: 6 months ago
JSON representation
Appends the correct korean postposition
- Host: GitHub
- URL: https://github.com/sublee/josa
- Owner: sublee
- Created: 2011-06-17T07:16:26.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2012-10-09T16:52:37.000Z (over 13 years ago)
- Last Synced: 2025-09-23T04:20:39.476Z (10 months ago)
- Language: Python
- Homepage: http://pypi.python.org/pypi/josa
- Size: 97.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Josa
~~~~
Appends the correct postposition to a given word by checking whether the word
has jongseong (final consonant) or not.
>>> print josa.append(u'false positive', u'를')
false positive를
>>> print josa.append(u'deterministic', u'랑')
deterministic이랑
>>> print josa.append(u'넥슨', u'와', lang='kor')
넥슨과
>>> print josa.append(u'あなた', u'이', lang='jpn')
あなた가