Metadata-Version: 1.1
Name: pylinkgrammar
Version: 0.2.12
Summary: Python bindings for Link Grammar system
Home-page: https://www.bitbucket.org/metametrics/pylinkgrammar/
Author: MetaMetrics, Inc.
Author-email: engineering@lexile.com
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.
        
        Sourcecode is hosted on BitBucket: https://www.bitbucket.org/metametrics/pylinkgrammar/
        
        Install
        =======
        You'll need to build and install linkgrammar before running setup.py.
        
        On Ubuntu systems you install the dependencies like so::
        
            sudo apt-get install liblink-grammar4-dev
            sudo apt-get install cmake
            sudo apt-get install swig
            
        Then to install pylinkgrammar::
        
            pip install pylinkgrammar
        
        How to use
        ==========
        Parsing simple sentences::
        
            >>> from pylinkgrammar.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
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
