Skip to content

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

@tylee33

Description

@tylee33

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 형식으로 뽑히는 걸까?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions