Metadata-Version: 2.1
Name: grammar
Version: 1.5
Summary: Python library for natural language processing
Home-page: https://github.com/idin/grammar
Author: Idin
Author-email: py@idin.ca
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: ~=3.6
Description-Content-Type: text/markdown
Requires-Dist: vineyard

# Grammar
Grammar is a Python library for natural language processing.

## Installation
You can use pip to install grammar.
```bash
pip install grammar
```

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

## Usage

### Creating a Document
```python
from grammar import Document

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

### Entity Graph
```python
display(document.entity_graph.render())
```
![](pictures/entity_graph.png?raw=true)

### Document Graph
```python
display(document.graph.render())
```
![](pictures/document_graph.png?raw=true)

### Masking


