KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
Taiyaki
★ 13
Open GitHub ↗
PythonとCythonで出来てる日本語形態素解析エンジン🚧
Download README (.md)
Explore Similar Repositories
cryptoo
:
Set up your own bitcoin payment system the easy way(with 4 APIs).
FIFO-Driver
:
Character device driver working as FIFO pipe, created with a Linux Kernel module (SMP-Safe). Works on Android's kernel too.
FaceLivenessDetection_SVM
:
No description available.
tushare_matlab
:
Tushare DATA for Matlab
hadolint-action
:
A GitHub action to run hadolint and reports violations given a Dockerfile within a repository
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Taiyaki
?
Download (.md)
# Taiyaki 日本語形態素解析エンジン. <img width=400 src="https://user-images.githubusercontent.com/166852/70145223-efcf9480-16e2-11ea-9708-b1e9d44005b1.png" /> ## セットアップ 1. [mecab-ipadic-2.7.0-20070801.tar.gz](https://ja.osdn.net/projects/sfnet_mecab/downloads/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz/)をダウンロードして`./data/`において解凍. 2. Cython (dobule array)のビルド ``` python setup.py build_ext --inplace ``` 3. 辞書構築 ダブル配列の辞書,語彙辞書,連接コスト辞書の3ファイルが生成されます. ``` python build.py ``` ## サンプルの実行 共通接頭辞検索,最小コスト法による分かち書き,最長一致法による分かち書き結果が表示されます. `-q`オプションを入れない場合,標準入力で連続して文を入力できます. ``` python examples/run_tokenizer.py -q 吾輩は猫である Loading dictionaries... Loaded! Input: 吾輩は猫である Common prefixes: ['吾', '吾輩'] Tokenized tokens (min cost): [('__BOS__', None), ('吾輩', '名詞'), ('は', '助詞'), ('猫', '名詞'), ('で', '助動詞'), ('ある', '助動詞'), ('__EOS__', None)] Tokenized tokens (longest match): ['吾輩', 'は', '猫', 'で', 'ある'] ``` ## TODOs - [x] refactoring an lattice node style - [ ] remove TODOs - [x] [未知語処理](https://github.com/taku910/mecab/blob/32041d9504d11683ef80a6556173ff43f79d1268/mecab-ipadic/unk.def) - [ ] [学習済みCRFを使った新語追加](https://taku910.github.io/mecab/dic.html) - [ ] integrate dictionaries - [ ] regularization - [ ] always invoke category processing - [x] (bug) Unknown words found in double_array and will cause KeyError. 「はい,おっぱっぴー」 - [ ] add test cases