Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enginsh is very well But Korean Language is not good #1

Open
tylee33 opened this issue Mar 29, 2017 · 0 comments
Open

Enginsh is very well But Korean Language is not good #1

tylee33 opened this issue Mar 29, 2017 · 0 comments

Comments

@tylee33
Copy link
Member

tylee33 commented Mar 29, 2017

root@ip-10-50-1-150:/usr/local/syntaxnet-rest-api# docker run -p 9000:9000 -d tylee/kor_docker
969f65f722215d7bb7d4b7ea78e4e91f0dd561dabb1cfd77f907a44847509f35
root@ip-10-50-1-150:/usr/local/syntaxnet-rest-api# curl -d '{"strings":["Google is awesome!","Syntaxnet is Cool"]}' -H "Content-Type:application/json" -X POST http://localhost:9000/api/v1/query
[{"pos_tag": "JJ", "dep": "ROOT", "contains": [{"pos_tag": "NNP", "dep": "nsubj", "name": "Google"}, {"pos_tag": "VBZ", "dep": "cop", "name": "is"}, {"pos_tag": ".", "dep": "punct", "name": "!"}], "name": "awesome"}, {"pos_tag": "NNP", "dep": "ROOT", "contains": [{"pos_tag": "NNP", "dep": "nsubj", "name": "Syntaxnet"}, {"pos_tag": "VBZ", "dep": "cop", "name": "is"}], "name": "Cool"}]
root@ip-10-50-1-150:/usr/local/syntaxnet-rest-api#

root@ip-10-50-1-150:/usr/local/syntaxnet-rest-api# curl -d '{"strings":["이순신 장군과 세종대왕이 떡 버티고 있다","소원은 다르지 않았을 것이다"]}' -H "Content-Type:application/json" -X POST http://localhost:9000/api/v1/query
[{"pos_tag": "FW", "dep": "ROOT", "contains": [{"pos_tag": "SYM", "dep": "dep", "name": "\uc138\uc885\ub300\uc655\uc774"}, {"pos_tag": "FW", "dep": "dep", "name": "\ub5a1"}, {"pos_tag": "NFP", "dep": "dep", "name": "\ubc84\ud2f0\uace0"}, {"pos_tag": ".", "dep": "dep", "name": "\uc788\ub2e4"}], "name": "\uc7a5\uad70\uacfc"}, {"pos_tag": "NFP", "dep": "ROOT", "contains": [{"pos_tag": "NFP", "dep": "punct", "name": "\ub2e4\ub974\uc9c0"}, {"pos_tag": "NFP", "dep": "discourse", "name": "\uc54a\uc558\uc744"}, {"pos_tag": ".", "dep": "dep", "name": "\uac83\uc774\ub2e4"}], "name": "\uc18c\uc6d0\uc740"}]

http://en.glyphwiki.org/wiki/Group:Hangul-GB12052 형식으로 뽑히는 걸까?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant