Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python library for natural language processing

Project description

Grammar

Grammar is a Python library for natural language processing.

Installation

You can use pip to install grammar.

pip install grammar

Dependencies

Grammar uses Vineyard and Graphviz to visualize graphs of the document.

Usage

Creating a Document

from grammar import Document

# create document
document = Document("He also begat and brought up five pairs of male children.")

Entity Graph

display(document.entity_graph.render())

Document Graph

display(document.graph.render())

Masking

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for grammar, version 1.6
Filename, size File type Python version Upload date Hashes
Filename, size grammar-1.6-py3-none-any.whl (11.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size grammar-1.6.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page