All Projects → stanfordnlp → python-corenlp-protobuf

stanfordnlp / python-corenlp-protobuf

Licence: MIT license
Python bindings for Stanford CoreNLP's protobufs.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to python-corenlp-protobuf

hawking
A Natural Language Date Time Parser that Extract date and time from text with context and parse to the required format
Stars: ✭ 168 (+700%)
Mutual labels:  corenlp
Stanza
Official Stanford NLP Python Library for Many Human Languages
Stars: ✭ 5,887 (+27933.33%)
Mutual labels:  corenlp
corenlp-docker
Docker image for Stanford CoreNLP
Stars: ✭ 25 (+19.05%)
Mutual labels:  corenlp
flowsense
FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System
Stars: ✭ 40 (+90.48%)
Mutual labels:  corenlp
stanford-corenlp-docker
build/run the most current Stanford CoreNLP server in a docker container
Stars: ✭ 38 (+80.95%)
Mutual labels:  corenlp
dstlr
scalable knowledge graph construction from unstructured text
Stars: ✭ 82 (+290.48%)
Mutual labels:  corenlp
node-corenlp
CoreNLP @ NodeJS
Stars: ✭ 63 (+200%)
Mutual labels:  corenlp
turing
✨ 🧬 Turing AI - Semantic Navigation, Chatbot using Search Engine and Many NLP Vendors.
Stars: ✭ 30 (+42.86%)
Mutual labels:  corenlp
jstarcraft-nlp
专注于解决自然语言处理领域的几个核心问题:词法分析,句法分析,语义分析,语种检测,信息抽取,文本聚类和文本分类. 为相关领域的研发人员提供完整的通用设计与参考实现. 涵盖了多种自然语言处理算法,适配了多个自然语言处理框架. 兼容Lucene/Solr/ElasticSearch插件.
Stars: ✭ 92 (+338.1%)
Mutual labels:  corenlp
datalinguist
Stanford CoreNLP in idiomatic Clojure.
Stars: ✭ 93 (+342.86%)
Mutual labels:  corenlp
ling
Natural Language Processing Toolkit in Golang
Stars: ✭ 57 (+171.43%)
Mutual labels:  corenlp

Stanford CoreNLP Python Bindings

https://travis-ci.org/stanfordnlp/python-corenlp-protobuf.svg?branch=master

This package contains python bindings for Stanford CoreNLP's protobuf specifications, as generated by protoc. These bindings can used to parse binary data produced by, e.g., the Stanford CoreNLP server.


Usage:

from corenlp_protobuf import Document, parseFromDelimitedString

# document.dat contains a serialized Document.
with open('document.dat', 'r') as f:
  buf = f.read()
doc = Document()
parseFromDelimitedString(doc, buf)

# You can access the sentences from doc.sentence.
sentence = doc.sentence[0]

# You can access any property within a sentence.
print(sentence.text)

# Likewise for tokens
token = sentence.token[0]
print(token.lemma)

See test_read.py for more examples.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].