From 4f9f23b8c5c692a66979fe73d974f04b11ed63cd Mon Sep 17 00:00:00 2001 From: aheidarnasab Date: Mon, 25 Jun 2018 16:48:30 +0430 Subject: [PATCH 1/4] requirments changed --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6fd7300..24d2ddc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ gensim==3.4.0 -tensorflow==1.8.0 \ No newline at end of file +tensorflow==1.8.0 +pandas==0.23.1 \ No newline at end of file From b406b3a118f910a47bd6f1ce0302a2fa7df07abe Mon Sep 17 00:00:00 2001 From: aheidarnasab Date: Mon, 25 Jun 2018 17:07:38 +0430 Subject: [PATCH 2/4] word2vec file chaneged --- word2vec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/word2vec.py b/word2vec.py index 555ea4c..8ee9be2 100644 --- a/word2vec.py +++ b/word2vec.py @@ -40,6 +40,8 @@ import numpy as np import tensorflow as tf + +print("abbas") word2vec = tf.load_op_library(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'word2vec_ops.so')) flags = tf.app.flags From 1f4533b3342bf465457925054cee6cf4213389c0 Mon Sep 17 00:00:00 2001 From: aheidarnasab Date: Mon, 25 Jun 2018 17:11:11 +0430 Subject: [PATCH 3/4] word2vec file chaneged 2 --- requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 24d2ddc..6fd7300 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ gensim==3.4.0 -tensorflow==1.8.0 -pandas==0.23.1 \ No newline at end of file +tensorflow==1.8.0 \ No newline at end of file From 051c27fb56c6579e9c004d9226d3b2e5a5e6f1cd Mon Sep 17 00:00:00 2001 From: aheidarnasab Date: Mon, 25 Jun 2018 17:12:32 +0430 Subject: [PATCH 4/4] word2vec file chaneged 2 --- word2vec_gensim.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/word2vec_gensim.py b/word2vec_gensim.py index 367e8de..4d76327 100644 --- a/word2vec_gensim.py +++ b/word2vec_gensim.py @@ -1,20 +1,3 @@ -# -*- coding: utf-8 -*- - -# Copyright 2017 Amir Hadifar. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ============================================================================== - from gensim.models import KeyedVectors from gensim.models import Word2Vec from gensim.models.word2vec import LineSentence