Giter Club home page Giter Club logo

turkish-word2vec's People

Contributors

akoksal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

turkish-word2vec's Issues

Readme

In readme file, Turkish translation of corpus should be 'derlem' not 'korpus'.

Custom Tokenization Error in Windows

I am getting the error below while working on Windows. I believe that it is due to different behavior of built-in multiprocessing library. I will check to handle this issue.

AttributeError: Can't get attribute 'tokenize_tr' on <module '__mp_main__' from 'C:\\Users\\abdullatif.koksal\\Desktop\\Named Entity Recognition\\Word2Vec\\Wiki 2Text\\preprocess.py'>

Cannot Load Pretrained Model

I was following the instructions in the wiki page to load and use saved models, (Section 5) downloaded the pretrained model but it seems like gensim cannot load the model from file. When I try to load model like so:

from gensim.models import KeyedVectors
word_vectors = KeyedVectors.load("trmodel")

I get an error at the word_vectors = KeyedVectors.load("trmodel") line that says:

AttributeError: Can't get attribute 'EuclideanKeyedVectors' on <module 'gensim.models.keyedvectors' from "DIR_OF_keyedvectors.py_UNDER_ANACONDA_SITE_PACKAGES_FOLDER"'

Here is my setup:

  • Python 3.6.4 : Anaconda 64-bit
  • Gensim 3.4.0
  • Ubuntu 17.10 64-bit

I think it's because versions of gensim used for training and loading the model are different, some functions might be changed or deprecated or something. Could you check it out please?

Reading corpus

firstly thanks for sharing this source.

my problem is that you used wikicorpus for opening your corpus but i built mine text without wiki. how could i implement mine ?

wiki = WikiCorpus(inputFile, lemmatize=False,tokenizer_func = tokenize_tr)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.