lzfelix / sk_seqtools

:snake: Extending sklearn LabelEncoder to handle sequences of labels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sk_seqtools

Extending the LabelEncoder from sklearn to handle sequences of labels to perform, for instance, NER tagging tasks.

Installing

You can install from remote with

pip install git+https://github.com/lzfelix/sk_seqtools

Usage examples

For now, please refer to the tests folder for examples on how to use the SequenceLabelEncoder.

Running tests

Since the repository consists only of SequentialLabelEncoder so far, you can run the tests from the root folder with:

 python -m unittest tests/test_seq_label_encoder.py

About

:snake: Extending sklearn LabelEncoder to handle sequences of labels

License:MIT License


Languages

Language:Python 100.0%