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

增加allowPOS支持,即tf-idf结果仅包括指定词性的词 #36

Merged
merged 1 commit into from
Jan 10, 2018

Conversation

citywill
Copy link
Contributor

@citywill citywill commented Jan 2, 2018

例如:
$vector = JiebaAnalyse::extractTags($content, 50, ['allowPOS' => ['n']]);

例如:
$vector = JiebaAnalyse::extractTags($content, 50, ['allowPOS' => ['n']]);
@coveralls
Copy link

coveralls commented Jan 2, 2018

Coverage Status

Coverage increased (+0.5%) to 57.911% when pulling baf4463 on citywill:master into a5980dc on fukuball:master.

@codecov-io
Copy link

codecov-io commented Jan 2, 2018

Codecov Report

Merging #36 into master will decrease coverage by 0.26%.
The diff coverage is 22.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   58.31%   58.04%   -0.27%     
==========================================
  Files           5        5              
  Lines        1353     1361       +8     
==========================================
+ Hits          789      790       +1     
- Misses        564      571       +7
Impacted Files Coverage Δ
src/class/JiebaAnalyse.php 73.33% <22.22%> (-7.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5980dc...baf4463. Read the comment docs.

@fukuball
Copy link
Owner

Cool, 感謝~

@fukuball fukuball merged commit 67255a3 into fukuball:master Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants