Comments (7)
if that doesn't work you can just make a folder called IpaDic in your app directory and then copy the following files in it:
from kawazu.
I think this is caused by the Nuget implict reference policy. I referenced LibNMeCab package in Kawazu, but when it published as a Nuget package and used by someone else, the reference of LibNMeCab became implicit, and it can't copy the files automatically as usual.
However, if you install LibNMeCab manually, it will copy the dics normally.
I don't know how to fix this right now, but I'll try to solve it asap.
from kawazu.
As a temporary solution to keep playing around with the Kawazu Library. Where would I find these files to copy to my project directory? I tried installing the LibNMeCab and LibNMeCab.IpaDicBin nuget packages but the directory is still not showing up.
Edit: Found it:
https://github.com/komutan/NMeCab
Kawasu is pretty cool by the way :)
from kawazu.
if that doesn't work you can just make a folder called IpaDic in your app directory and then copy the following files in it:
That's what I did, this ticket is just for checking if there are any automatically approaches
anyway copy files manually isn't a good solution for CI/CD
from kawazu.
However, if you install LibNMeCab manually, it will copy the dics normally.
As I know, some nuget package can auto add it's reference nuget package to your project. Maybe your can try to auto install the LibNMeCab
when we install Kawazu
e.g.
once you install ServiceStack.OrmLite.Sqlite
, the package System.Data.SQLite.Core
will be installed at the sametime.
i don't know how they did that.
from kawazu.
However, if you install LibNMeCab manually, it will copy the dics normally.
As I know, some nuget package can auto add it's reference nuget package to your project. Maybe your can try to auto install the
LibNMeCab
when we installKawazu
e.g.
once you install
ServiceStack.OrmLite.Sqlite
, the packageSystem.Data.SQLite.Core
will be installed at the sametime.i don't know how they did that.
It actually did auto add the reference and you can even use them in code. But the reference is implicit:
I don't know how to make the LibNMeCab.ipaDic be installed explicitly.
Or maybe I can copy those dic files manually in code, but I don't think it is a good way to solve this problem and may cause a waste of disk space due to the data redundancy.
from kawazu.
As a temporary solution to keep playing around with the Kawazu Library. Where would I find these files to copy to my project directory? I tried installing the LibNMeCab and LibNMeCab.IpaDicBin nuget packages but the directory is still not showing up.
Edit: Found it:
https://github.com/komutan/NMeCabKawasu is pretty cool by the way :)
If you install LibNMeCab.IpaDicBin manually, after compile and run, the files will be automatically copied to the output directory. Or you can find those files in Kawazu Nuget installation directory, and they are linked to your project by default, you can find them in the solution panel in Visual Studio :)
from kawazu.
Related Issues (14)
- Can I get a list of pronunciations for every char. HOT 3
- One or more errors occurred. (Index was outside the bounds of the array.) HOT 4
- Romaji to Hiragana HOT 2
- Hiraganas does not take context into account (like numbers) HOT 11
- Parts of speech HOT 2
- Errors in transliterations HOT 4
- Why didn't provide synchronized API? HOT 2
- ArgumentOutOfRangeException for input 鷺ノ森中ノ丁
- .net5 support request HOT 2
- Dispose method to release unmanaged memory HOT 3
- License HOT 5
- Question about Romaji HOT 1
- Furigana is sometimes inaccurate HOT 5
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 kawazu.