Created
July 31, 2014 20:18
-
-
Save MaZderMind/635538724c885a63e1c3 to your computer and use it in GitHub Desktop.
libleibzig w/ unicode - \o/ - yay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir test; chdir test | |
virtualenv -p python3 . | |
./bin/pip install -U setuptools | |
./bin/pip install https://github.com/MaZderMind/libleipzig-python/archive/master.zip | |
./bin/python | |
Python 3.3.2+ (default, Feb 28 2014, 00:52:16) | |
[GCC 4.8.1] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import libleipzig | |
>>> >>> print(libleipzig.Cooccurrences("müde", 0, 1, corpus="de")) | |
[(Wort: 'müde', Kookkurrenz: 'bin', Signifikanz: '484')] | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment