Skip to content

invalid syntax: print "positive: " + str(pos) + " negative: " + str(neg) + " topn: " + str(t) ^  #29

@opquint-dev

Description

@opquint-dev

I run command
python word2vec-api.py --model /path/to/GoogleNews-vectors-negative300.bin --binary BINARY --path /word2vec --host 0.0.0.0 --port 5000
and have error
File "D:/word2vec-api-master/word2vec-api-master/word2vec-api.py", line 60
print "positive: " + str(pos) + " negative: " + str(neg) + " topn: " + str(t)
^
SyntaxError: invalid syntax
Please help me fix the error

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