Created
September 26, 2017 15:53
-
-
Save wannaphong/ec1f06bd386132fc624fc60c7b2c2b0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from spacy.lang.th import Thai | |
>>> nlp = Thai() | |
>>> text="คุณรักผมไหม" | |
>>> a = nlp(text) | |
>>> a | |
คุณรักผมไหม | |
>>> list(a) | |
[คุณ, รัก, ผม, ไหม] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment