Comments (4)
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.
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.
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.
Closing due to lack of response.
from fugashi.
Related Issues (20)
- type stubs HOT 2
- How to use with Contemporary Spoken Japanese dictionary unidic? HOT 3
- method for preserving half-width spaces? HOT 8
- Unable to Install (Windows x64, Python 3.11.0, fugashi 1.2.0) HOT 3
- When building a user dict, check number of fields
- The unidic_lite dictionary is not installed HOT 5
- UniDic v3.1.1 サポート件 HOT 1
- Importing fugashi raises ImportError on macOS HOT 3
- cmmap_->open(filename, mode)] cannot open HOT 12
- Lemmatizing particles に、で HOT 3
- Vectorizing Japanese After Lemmatization HOT 1
- Is it possible to apply the user dictionary which is a object instead of a file ? HOT 2
- Questions and thoughts(fix of making user dict, unidic terms and mecab_node_t attributes) HOT 5
- Add access to more Node fields
- Installing error when using `python:alpine` as the base image HOT 7
- Question about installing on visual studio 2022 windows HOT 3
- Can't install on MacOS Ventura Intel x86 Python 3.11 HOT 5
- Pylance linting gives error: "Tagger" is not a known member of module "fugashi" HOT 2
- 'kana' field differs between the raw MeCab output and the Fugashi tagger output, returning "体" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fugashi.