from src.datasets.data_utils import WordVectorBuilder
from src.datasets.open_weiboscope import OpenWeibo
from src.datasets.amazon_reviews import AmazonReviews
from src.datasets.sentiment140 import Sentiment140

builder = WordVectorBuilder(Sentiment140, '/data/sentiment140.csv')
builder.word2vec_save('/data/sentiment140.bin')
Example #2
0
from src.datasets.data_utils import WordVectorBuilder
from src.datasets.open_weiboscope import OpenWeibo

builder = WordVectorBuilder(OpenWeibo, '/data/openweibo/')
builder.word2vec_save('/data/weibo.bin', min_samples=800000)
from src.datasets.data_utils import WordVectorBuilder
from src.datasets.open_weiboscope import OpenWeibo
from src.datasets.amazon_reviews import AmazonReviews
from src.datasets.sentiment140 import Sentiment140

builder = WordVectorBuilder(Sentiment140, "/data/sentiment140.csv")
builder.word2vec_save("/data/sentiment140.bin")