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

请问,为什么用您的语料库会出现以下错误 #43

Open
ghost opened this issue Aug 28, 2018 · 1 comment
Open

请问,为什么用您的语料库会出现以下错误 #43

ghost opened this issue Aug 28, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 28, 2018

Exception in thread "main" com.alibaba.fastjson.JSONException: syntax error, pos 1, line 1, column 2迈向 充满 希望 的 新 世纪 —— 一九九八年 新年 讲话 ( 附 图片 1 张 )
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1447)
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1333)
at com.alibaba.fastjson.JSON.parse(JSON.java:152)
at com.alibaba.fastjson.JSON.parse(JSON.java:162)
at com.alibaba.fastjson.JSON.parse(JSON.java:131)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:223)
at tets_word_vec.Test.parserFile(Test.java:61)
at tets_word_vec.Test.main(Test.java:29)

@inahero
Copy link

inahero commented Oct 9, 2018

他最前面那段代码是生成语料库的,如果是直接用他提供的语料库,可以把sportCorpusFile指向那个语料库然后直接做分词训练

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