Skip to main content

wortschatz.uni-leipzig.de binding

Project description

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.

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)
    Baseform(Wort) -> Grundform, Wortart
        Return the lemmatized (base) form.
>>>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libleipzig-1.1.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file libleipzig-1.1.tar.gz.

File metadata

  • Download URL: libleipzig-1.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for libleipzig-1.1.tar.gz
Algorithm Hash digest
SHA256 c3e4617e0c20491580429330d54acda6c1f1ab117ccaa2dcb33d0cb7f6731607
MD5 e85fc1cb356f52e18040e95e39bf752a
BLAKE2b-256 35789a942ce1d3aaf70c7561019c898cce50a4f9e3858eda633a9bf579bcece8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page