Comments (8)
分词结果是否展示词性的配置项ShowTermNature=true,或在代码中HanLP.Config.ShowTermNature = false; // 关闭词性显示
from hanlp.
分词结果是否展示词性的配置项ShowTermNature=true
from hanlp.
谢谢!不好意思,我没找到。请问是在最新的版本中吗?
from hanlp.
不客气,v1.1.3以上
from hanlp.
难怪我没找到。呵呵。我用的版本太低了,现在只能把源代码重新下载下来弄。
另,我想肯定可以用eclipse直接连接github更新,你的更新中提到了“Portable同步升级到v1.2.4”,请问具体怎么弄?还请指点哈,谢谢!
from hanlp.
请谷歌git用法。Portable版指的是Maven**仓库里的版本,该版本将data打包进了jar,所以是便携的。
from hanlp.
Segment segment = HanLP.newSegment().enablePartOfSpeechTagging(false);
这样不可以关闭斜杠和后面的词性标注吗?
Portable版
from hanlp.
如何在TextRank上面加入词性、词频个数、权重。一块return ?
from hanlp.
Related Issues (20)
- 调用粗粒度分词API疑是存在内存泄漏? HOT 3
- ViterbiSegment加载自定义词典时未正确替换DoubleArrayTrie HOT 2
- 希望可以增加自定义词典功能,对于分错的词语可以人为纠正。 HOT 2
- a bug HOT 1
- 始终报file is not a zip file HOT 2
- hanlp.load(SIGHAN2005_MSR_CONVSEG) 卡住了 HOT 2
- Failed to load https://file.hankcs.com/hanlp/dep/pmt_dep_electra_small_20220218_134518.zip HOT 2
- TransformerNamedEntityRecognizerTF 无法识别data的max_seq_length HOT 3
- pip install hanlp failed HOT 4
- " unpack (expected 4, got 3)" from HanLP(['XXXXX']) 运行错误 HOT 1
- 索引与查找使用相同的analyzer,结果无法命中 HOT 4
- 无法下载CTB9_POS_ELECTRA_SMALL_TF HOT 2
- 解析失败,提示升级hanlp HOT 1
- 依存分析的模型要么下载不了,要么刚开始下载非常慢,然后就下不了了(dep的四个模型都是) HOT 1
- No module named 'hanlp.datasets.parsing.ctb'
- 中文名包含多音字时生成的拼音只有一个,例如 ‘李娜’ 生成拼音为 ‘Li Nuo’ HOT 1
- 执行open_small.py时报'utf-8' codec can't decode byte 0xb4 in position 0: invalid start byte HOT 1
- ================================ERROR LOG BEGINS================================ HOT 1
- When I runing the example occurred error HOT 1
- Add a custom dictionary type that supports spaces HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hanlp.