libleipzig-python provides a wrapper to the web services provided by the Deutscher Wortschatz project of the University of Leipzig. Deutscher Wortschatz is a German database of text corpora and can be utilized to analyze and contextualize words in the thesaurus. libleipzig currently supports all public service calls. These do not require authentication and are provided free of charge for private or scientific purposes. Supplying authentication credentials and fetching from different corpora is supported too.
Example
>>> from libleipzig import *
>>> r = Baseform(u"Schlangen")
>>> r
[(Grundform: u'Schlange', Wortart: u'N'),
(Grundform: u'Schlangen', Wortart: u'S')]
>>> r[0].Grundform
u'Schlange'
>>> help(Baseform)
Help on function Baseform in module libleipzig.protocol:
Baseform(*vectors, **options)
Baseform(Wort) -> Grundform, Wortart
Return the lemmatized (base) form.
>>>
Metadata
Release files for libleipzig 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libleipzig-1.3.tar.gz | 13.0 kB | Details |
Release files / libleipzig-1.3.tar.gz
| Download URL | libleipzig-1.3.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ea1bb9c14208f1898a02a3312ec78a22e088d906481e2441d4aa85e60e1c30c
|
|
BLAKE2b-256 checksum How to use checksums |
c43cc3cd56e80928f6a9fbdbbbc7d665b2a97c6d02df0d17f24f316ee9c58a57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |