Skip to content

Commit

Permalink
Wheel for mac as of fugashi>=0.2.3 bundles Mecab
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiromu Hota committed Jun 4, 2020
1 parent 550c0d6 commit 02f35e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions docs/user/faqs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ languages`_). Currently, only Chinese and Japanese are supported.

If you would like to use Fonduer for Japanese documents, you can use
``pip install fonduer[spacy_ja]`` to install Fonduer with Japanese language support.
On macOS, you need to install Mecab (the Japanese tokenizer used by spaCy) too.

For macOS::

$ brew install mecab

If you would like to use Fonduer for Chinese documents, you can use
``pip install fonduer[spacy_zh]`` to install Fonduer with Chinese language support.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"ipython",
],
extras_require={
"spacy_ja": ["fugashi[unidic-lite]>=0.2.2"], # 0.2.2+ comes with wheel for Mac
"spacy_ja": ["fugashi[unidic-lite]>=0.2.3"],
"spacy_zh": ["jieba>=0.39, <0.40"],
},
keywords=["fonduer", "knowledge base construction", "richly formatted data"],
Expand Down

0 comments on commit 02f35e4

Please sign in to comment.