Skip to main content

Rungsted. An efficient HMM-based structured prediction model for sequential labeling tasks, with extras.

Project description

[![Build Status](](

## 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/ --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](, 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/ data/brown.train.vw data/brown.test.vw

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

### Building and uploading to PyPI

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

To develop locally, use python develop.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
rungsted-1.2.4.tar.gz (582.7 kB) Copy SHA256 hash SHA256 Source None Oct 6, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page