Repository Details
Shared by
HelloGitHub Rating
0 ratings
适用于多种人类语言的 Stanford NLP 官方 Python 库
Past 7 days Received 3 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周三 | 7,918 | — |
| 周四 | 7,916 | -2 |
| 周五 | 7,918 | +2 |
| 周六 | 7,921 | +3 |
| 周日 | 7,921 | 0 |
| 周一 | 7,921 | 0 |
| 周二 | 7,921 | 0 |
7.9k
Stars
No
Chinese
Python
Language
Yes
Active
85
Contributors
103
Issues
Yes
Organization
None
Latest
965
Forks
None
License
适用于多种人类语言的 Stanford NLP 官方 Python 库。包含用于运行 CoNLL 2018 共享任务的最新完全神经管道以及访问 Java Stanford CoreNLP 服务器的软件包。实例代码:
```python
import stanfordnlp
stanfordnlp.download('en') # This downloads the English models for the neural pipeline
nlp = stanfordnlp.Pipeline() # This sets up a default neural pipeline in English
doc = nlp("Barack Obama was born in Hawaii. He was elected president in 2008.")
doc.sentences[0].print_dependencies()
```
Included in:
Vol.35
Comments
Rating:
No comments yet