Giter Club home page Giter Club logo

Comments (4)

polm avatar polm commented on June 12, 2024

So the error message you have copied and pasted mentions ERROR DETAILS. Did your output not include ERROR DETAILS? It should look a little like this:

------------------- ERROR DETAILS ------------------------
arguments: [b'fugashi', b'-C', b'-d', b'/aasdf']
param.cpp(69) [ifs] no such file or directory: /aasdf/dicrc
----------------------------------------------------------

Please also check the common issues. For example, did you install a dictionary like unidic-lite?

from fugashi.

eye-zhuk avatar eye-zhuk commented on June 12, 2024

yes the error code looks like this

arguments: [b'fugashi', b'-C', b'-d', b'C:\\Users\\Me\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\unidic_lite\\dicdir', b'-r', b'C:\\Users\\Me\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\unidic_lite\\dicdir\\mecabrc']
viterbi.cpp(50) [tokenizer_->open(param)] tokenizer.cpp(110) [sysdic->open (create_filename(prefix, SYS_DIC_FILE).c_str())] dictionary.cpp(94) [(magic ^ DictionaryMagicID) == dmmap_->size()] dictionary file is broken: C:\Users\Me\AppData\Local\Programs\

from fugashi.

polm avatar polm commented on June 12, 2024

Please read the markdown formatting guide.

The error says your dictionary is broken. Can you try reinstalling unidic lite?

Also please provide a sample of the code that causes this. mmap related errors are often related to creating too many instances of the Tagger.

from fugashi.

polm avatar polm commented on June 12, 2024

Closing due to lack of response.

from fugashi.

Related Issues (20)

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.