Metadata-Version: 1.0
Name: pylinkgrammar
Version: 0.1.18
Summary: Python bindings for Link Grammar system
Home-page: UNKNOWN
Author: MetaMetrics, Inc.
Author-email: UNKNOWN
License: UNKNOWN
Description: ######
        README
        ######
        
        Description
        ===========
        LinkGrammar is a sentence parsing system developed at Carnegie Melon University by John Lafferty, Daniel Sleator, Davy Temperley and others
        
        LinkGrammar is written in C.  This package contains a Pythonic interface to the C library.
        
        Install
        =======
        You'll need to build and install linkgrammar before running setup.py.
        
        On Debian and ubuntu systems you::
        
            sudo apt-get install link-grammar
            sudo apt-get install cmake
            
        Then to install pylinkgrammar::
        
            pip install pylinkgrammar
        
        How to use
        ==========
        Parsing simple sentences::
        
            >>> from linkgrammar import Parser
            >>> p = Parser()
            >>> linkages = p.parse_sent("This is a simple sentence.")
            >>> len(linkages)
            2
            >>> print linkages[0].diagram
            
                    +-------------------Xp------------------+
                    |              +--------Ost-------+     |
                    |              |  +-------Ds------+     |
                    +---Wd---+-Ss*b+  |     +----A----+     |
                    |        |     |  |     |         |     |
                LEFT-WALL this.p is.v a simple.a sentence.n . 
        
        
Platform: UNKNOWN
