Skip to content

调用loadGoogleModel模型,产生如下报错 #44

@baymaxZ0Z0

Description

@baymaxZ0Z0

Exception in thread "main" java.lang.NumberFormatException: For input string: " �1 � 2.2万吨��`6=+f�>o��>�;b>��R=~"2��W6=��)�%�������E��=s���l"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:569)
at java.lang.Integer.parseInt(Integer.java:615)
at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:80)
at test.Test.main(Test.java:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions