Skip to main content

Simple part of speech tag fixer

These functions are designed to fix POS tags.

For tag_fixer(), the presumed format of the data is a list of [word,tag] or (word,tag) pairs

l = [["The","DT"],["teacher","NNP"],["is","VBZ"],["awesome","JJ"]]
fixed_list = tag_fixer(l)

For tag_fixer_sents(), the presumed format of that data is a list sentences that are lists of [word,tag] pairs.

l2 = [[["The","DT"],["teacher","NNP"],["is","VBZ"],["awesome","JJ"]],[["This","DT"],["is","VBZ"],["another","JJ"]]]
tag_fixer_sents(l2)

Note that either function will automatically capitalize tags (so the user doesn't have to hit the [shift] key)

Metadata

Release files for tag-fixer 0.0.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 tag-fixer 0.0.4
File Size Uploaded
tag_fixer-0.0.4.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tag-fixer 0.0.4
File Interpreter ABI Platform
tag_fixer-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / tag_fixer-0.0.4.tar.gz

Download URL tag_fixer-0.0.4.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6bc16953aa973a3e9f47e74d85b9e3ebd8239c49b21abb34c711fece4bc024d9
BLAKE2b-256 checksum
How to use checksums
c42f7096e54f1e560757c4da88e8f77b061c9bf8ed42f426929abfbba734d987
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

Release files / tag_fixer-0.0.4-py3-none-any.whl

Download URL tag_fixer-0.0.4-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
150a7479f21aefd7041ec0696eea1f33a4824befd19195cbbfb3a6c14dd7e3b9
BLAKE2b-256 checksum
How to use checksums
b94eca03f20257b6ae0d742bcb44145411219b65a5143803faee0aade09c272f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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