Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip]delta2.0 with gan #122

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ before_install:
- docker pull ${CI_IMAGE}
- docker run -it -d --name travis_con --user root -v ${DELTA_PATH}:${DOCKER_DELTA} ${CI_IMAGE} bash
- docker exec travis_con bash -c "gcc -v && g++ -v"
- docker exec travis_con bash -c "python -c 'import tensorflow as tf; print(tf.__version__);'"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}; source env.sh"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools; touch test.done"
#- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools; make basic check_install test"
Expand Down
1 change: 0 additions & 1 deletion delta/resources/cppjieba_dict

This file was deleted.

31 changes: 31 additions & 0 deletions delta/resources/cppjieba_dict/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# CppJieba字典

文件后缀名代表的是词典的编码方式。
比如filename.utf8 是 utf8编码,filename.gbk 是 gbk编码方式。


## 分词

### jieba.dict.utf8/gbk

作为最大概率法(MPSegment: Max Probability)分词所使用的词典。

### hmm_model.utf8/gbk

作为隐式马尔科夫模型(HMMSegment: Hidden Markov Model)分词所使用的词典。

__对于MixSegment(混合MPSegment和HMMSegment两者)则同时使用以上两个词典__


## 关键词抽取

### idf.utf8

IDF(Inverse Document Frequency)
在KeywordExtractor中,使用的是经典的TF-IDF算法,所以需要这么一个词典提供IDF信息。

### stop_words.utf8

停用词词典


34 changes: 34 additions & 0 deletions delta/resources/cppjieba_dict/hmm_model.utf8

Large diffs are not rendered by default.

Loading