Skip to main content

[![Build Status](https://travis-ci.org/coastalcph/rungsted.svg?branch=master)](https://travis-ci.org/coastalcph/rungsted)

## Rungsted structured perceptron sequential tagger

### Install

The software is installable via PyPI, e.g. do

` pip install rungsted `

### Demo

The repository contains a subset of the part-of-speech tagged Brown corpus. To run the structured perceptron labeler on this dataset, execute:

python src/labeler.py --train data/brown.train --test data/brown.test.vw

Rungsted’s input format is closely modeled on the powerful and flexible format of [Vowpal Wabbit](https://github.com/JohnLangford/vowpal_wabbit/wiki/Input-format), with the exception that Rungsted is perfectly fine with labels that are not integers.

### Datasets

Provided you have a working installation of NLTK, you can recreate the Brown dataset with this command.

python rungsted/datasets/cr_brown_pos_data.py data/brown.train.vw data/brown.test.vw

There is also a script rungsted/datasets/conll_to_vw.py to convert from CONLL-formatted input to Rungsted

### Building and uploading to PyPI

First, run python setup.py sdist to generate a source distribution. Then upload the distribution files to PyPI with twine: twine upload dist/*.

To develop locally, use python setup.py develop.

Metadata

Release files for rungsted 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rungsted 1.2.4
File Size Uploaded Provenance Actions
rungsted-1.2.4.tar.gz 582.7 kB Without provenance Details for rungsted-1.2.4.tar.gz

Release files / rungsted-1.2.4.tar.gz

Download URL rungsted-1.2.4.tar.gz
Size 582.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1dd75704417ab3242f8c21cacc2a306857cdc5299d9fa22c705650b95c32e944
BLAKE2b-256 checksum
How to use checksums
a9899fbb8e9946b5ba8dc6ba7315af9238a2dbc8570b137c6bf89512bf592b76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rungsted 1.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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