Freeling wrapper
Jupyter Notebook Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conda.recipe
pyfreeling
.gitattributes
.gitignore
LICENSE.txt
MANIFEST.in
README.md
Untitled.ipynb
examples.ipynb
setup.cfg
setup.py
versioneer.py

README.md

PyFreeling

Freeling wrapper. Works around the analize command line tool. It will return a lxml object.

Installation

pip install pyfreeling

or

conda install pyfreeling -c malev

Usage

from pyfreeling import Analyzer

analyzer = Analyzer(config='config.cfg')
xml = analyzer.run('Hello World')

analyzer = Analyzer(config='config.cfg', lang='es')

analyzer.run('Hola mundo', 'noflush')

All the options here are available as optional arguments for the run method. There are more examples here.