-
代码:
List keyWords =
HanLP.extractKeyword("亨利·福特(HenryFord,1863年7月30日—1947年4月8日),美国汽车工程师与企业家,汽车公司的建立者。",30);
keyWords.forEach(System.out::println);
结果:
汽…
-
-
When parsing a bit of text with accents, I get the wrong tokens. For instance, with the code:
```
tokens %
plot_tree(token, lemma, POS)
```
![image](https://user-images.githubuserco…
-
As topic mentioned
Thanks
-
Hello, Im having problems running the textrank.py file. When I try to run it, it says: No module named 'nltk.tokenize'. I already installed the nltk module and I dont know what to do now
-
需求:
如何根据自定义词典,从文本中提取词典中的关键词。
设想三种方案:
1、输入文本,获取结巴分词结果,编写一套代码根据分词结果对比自定义词典,输出同时包含在文本中和词典中的词。
2、输入文本,编写一套代码,逐个查询词典中的词是否在文本中出现,输出同时包含在文本中和词典中的词。
3、利用结巴词性标注的功能,在自定义词典中,将自定义词全部标注为某一特殊词性,利用结巴根据词性提取关键词…
-
-
By providing C API so that the existing cppjieba users could switch over with minimum efforts.
- [x] `jieba_new` - #42
- [x] `jieba_empty` - #42
- [x] `jieba_free` - #42
- [x] `jieba_add_word…
-
Hello,
Nice work ! 👍
I want to run it on my computer, but I keep getting this error below.
Any clue how to solve it ?
Thanks a lot.
***
(base) MacBook-Pro:textrank_demo$ python demo.py
W…
-
The suite of tools that you have built is fantastic, especially with the foresight to create a flexdashboard app to help tag entities in text. With that said, you mentioned the ability to do intent c…