takuyaa / kuromoji.js

JavaScript implementation of Japanese morphological analyzer
848 stars 118 forks source link

、 as 名詞 数 #35

Open linonetwo opened 5 years ago

linonetwo commented 5 years ago

Try はじめまして。どうぞ、よろしく。 And the will be:

{

    "type":"WordNode",
    "children":[
        {
            "type":"TextNode",
            "value":"、",
            "position":{
                "start":{
                    "line":1,
                    "column":11,
                    "offset":10
                },
                "end":{
                    "line":1,
                    "column":12,
                    "offset":11
                }
            },
            "data":{
                "word_id":51340,
                "word_type":"KNOWN",
                "surface_form":"、",
                "pos":"名詞",
                "pos_detail_1":"数",
                "pos_detail_2":"*",
                "pos_detail_3":"*",
                "conjugated_type":"*",
                "conjugated_form":"*",
                "basic_form":"、",
                "reading":"、",
                "pronunciation":"、"
            }
        }
    ],
    "position":{
        "start":{
            "line":1,
            "column":11,
            "offset":10
        },
        "end":{
            "line":1,
            "column":12,
            "offset":11
        }
    },
    "data":{
        "word_id":51340,
        "word_type":"KNOWN",
        "surface_form":"、",
        "pos":"名詞",
        "pos_detail_1":"数",
        "pos_detail_2":"*",
        "pos_detail_3":"*",
        "conjugated_type":"*",
        "conjugated_form":"*",
        "basic_form":"、",
        "reading":"、",
        "pronunciation":"、"
    }

}

Is this wrong? How to fix it?