Metadata-Version: 2.1
Name: visualise-spacy-pattern
Version: 0.0.1
Summary:  Visualise spacy dependency patterns
Home-page: https://github.com/cyclecycle/visualise-spacy-pattern
Author: Nicholas Morley
Author-email: nick.morley111@gmail.com
License: UNKNOWN
Description: # Visualise spacy pattern
        
        ## Installation
        
        ```bash
        pip install visualise-spacy-pattern
        ```
        
        ## Usage
        
        ```python
        import visualise_spacy_pattern
        
        # Load the example dependency pattern
        pattern_file = 'examples/pattern_1.json'
        with open(pattern_file) as f:
            pattern = json.load(f)
        
        graph = visualise_spacy_pattern.to_pydot(pattern)
        png = graph.create_png()
        graph_file = 'examples/graph_1.png'.format()
        with open(graph_file, 'wb') as f:
            f.write(png)
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
