Skip to main content

nlup contains some base libraries I use in natural language processing projects. Some highlights:

  • confusion.py: classifier evaluation objects
  • decorators.py: clever decorators for various purposes
  • jsonable.py: a mix-in which allows the state of most objects to be serialized to (and deserialized from) compressed JSON
  • perceptron.py: perceptron-like classifiers (binary and multiclass), including some forms of structured prediction
  • reader.py: classes and readers for tagged and dependency-parsed data
  • timer.py: a with-block that logs wall clock time elapsed

All have been tested on CPython 3.4.1 and PyPy 3.2.5 (PyPy version 2.3.1). They will not work on Python 2 without modification.

Some projects using nlup:

Download files

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

Source Distribution

nlup-0.8.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file nlup-0.8.tar.gz.

File metadata

  • Download URL: nlup-0.8.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for nlup-0.8.tar.gz
Algorithm Hash digest
SHA256 e2092b2ba31ac92d154c7e04178c68644280d51f87931efaaf7b97e91ed1f919
MD5 24043734aa127ff0b1327f4435395b6b
BLAKE2b-256 688ed7ef9bc904bd1e78b6362cc8d65d87506530a16c686692a2a1b2bdc624fb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8 This release

1 file

0.7.post1

1 file

0.7

2 files

0.5

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page