-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Code:
import re
import heapq
import nltk
import numpy as np
import gensim, logging
from text import text2vec
f = open("D:\dataset\mahout-0.8\mahout-0.8_Corpus.txt")
doc_list = f.read()
#doc_list = re.split("\n\n", doc1)
t2v = text2vec(doc_list)
print(t2v)
PS: text is the file which contatin code of text2vec
output:
import text2vec
File "C:\Part 1 - Data Preprocessing\Data_Preprocessing\text2vec.py", line 16, in
t2v = text2vec.text2vec(doc_list)
TypeError: 'module' object is not callable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels