Giter Site home page Giter Site logo

mecab.jl's Introduction

Hi, I'm @chezou 👋

I'm a Staff Software Engineer at Treasure Data.

I'm curious about Machine Learning and MLOps.

See detail at: https://chezo.uno/

I'm an O'Reilly author about ML and MLOps.

📗 My books:

I'm also maintaining data related open sources, especially, tabula-py, which extracts tables from PDF in Python.

chezou's GitHub stats

mecab.jl's People

Contributors

chezou avatar r9y9 avatar snthot avatar tkelman avatar

Stargazers

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

Watchers

 avatar

mecab.jl's Issues

MeCab build error

I just installed Mecab package on the WINDOWS 10 PC using the following command:
Pkg.add("MeCab")
But when I build the MeCab package, the following error occurred:
LoadError: None of the selected providers can install dependency libmecab.

How to install the dependency libmecab?
PS:My computer is mecab installed.

Thanks.

Error building MeCab (Julia 1.2)

おはこんばんちは!

I was very pleased to find out there was a MeCab package for Julia, however I don't seem to be able to make it work with Julia 1.2. Haven't tested other versions of Julia. More details below. It's literally my first day using Julia, so I'm afraid I can't help much.

[Arararararagi@Arararararagi ~]$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.2.0 (2019-08-20)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> using Pkg

julia> Pkg.add("MeCab")
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.2/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.2/Manifest.toml`
 [no changes]

julia> using MeCab
[ Info: Precompiling MeCab [28a8edfd-32bd-5648-83f9-9b597c29a4fc]
ERROR: LoadError: MeCab not properly installed. Please run Pkg.build("MeCab")
Stacktrace:
 [1] top-level scope at /home/Arararararagi/.julia/packages/MeCab/c9nU4/src/MeCab.jl:9
 [2] top-level scope at none:2
in expression starting at /home/Arararararagi/.julia/packages/MeCab/c9nU4/src/MeCab.jl:6
ERROR: Failed to precompile MeCab [28a8edfd-32bd-5648-83f9-9b597c29a4fc] to /home/Arararararagi/.julia/compiled/v1.2/MeCab/hcYKl.ji.

julia> Pkg.build("MeCab")
  Building MeCab → `~/.julia/packages/MeCab/c9nU4/deps/build.log`
┌ Error: Error building `MeCab`: 
│ ERROR: LoadError: ArgumentError: Package Compat not found in current path:
│ - Run `import Pkg; Pkg.add("Compat")` to install the Compat package.
│ 
│ Stacktrace:
│  [1] include(::String) at ./client.jl:431
│  [2] top-level scope at none:5
│ in expression starting at /home/Arararararagi/.julia/packages/MeCab/c9nU4/deps/build.jl:2
└ @ Pkg.Operations /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/backwards_compatible_isolation.jl:647
false

julia> import Pkg; Pkg.add("Compat")
 Resolving package versions...
  Updating `~/.julia/environments/v1.2/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.2/Manifest.toml`
 [no changes]

julia> Pkg.build("MeCab")
  Building MeCab → `~/.julia/packages/MeCab/c9nU4/deps/build.log`
┌ Error: Error building `MeCab`: 
│ ERROR: LoadError: ArgumentError: Package Compat not found in current path:
│ - Run `import Pkg; Pkg.add("Compat")` to install the Compat package.
│ 
│ Stacktrace:
│  [1] include(::String) at ./client.jl:431
│  [2] top-level scope at none:5
│ in expression starting at /home/Arararararagi/.julia/packages/MeCab/c9nU4/deps/build.jl:2
└ @ Pkg.Operations /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/backwards_compatible_isolation.jl:647
false

[PkgEval] MeCab may have a testing issue on Julia 0.3 (2014-09-16)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2014-09-16 the testing status was N/A - new package.
  • On 2014-09-16 the testing status changed to Tests fail, but package loads.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("MeCab")' log
INFO: Cloning cache of MeCab from git://github.com/chezou/MeCab.jl.git
INFO: Installing MeCab v0.0.1
INFO: Package database updated

>>> 'using MeCab' log
Julia Version 0.3.1-pre+26
Commit 91ba8a9 (2014-08-26 16:55 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

>>> test log
ERROR: error compiling Mecab: error compiling Mecab: could not load module libmecab: libmecab: cannot open shared object file: No such file or directory
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_1717 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.3/MeCab/test/runtests.jl, in expression starting on line 5

INFO: Testing MeCab
================================[ ERROR: MeCab ]================================

failed process: Process(`/home/idunning/julia03/usr/bin/julia /home/idunning/pkgtest/.julia/v0.3/MeCab/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: MeCab had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:711
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:67
 in process_options at ./client.jl:213
 in _start at ./client.jl:354
 in _start_3B_1717 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so


>>> end of log

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.