Underthesea Core
Project description
Underthesea Core
Underthesea Core is a powerful extension of the popular natural language processing library Underthesea, which includes a range of efficient data preprocessing tools and machine learning models for training. Built with Rust for optimal performance, Underthesea Core offers fast processing speeds and is easy to implement, with Python bindings for seamless integration into existing projects. This extension is an essential tool for developers looking to build high-performance NLP systems that deliver accurate and reliable results.
Usage
CRFFeaturizer
>>> from underthesea_core import CRFFeaturizer
>>> features = ["T[-1]", "T[0]", "T[1]"]
>>> dictionary = set(["sinh viên"])
>>> featurizer = CRFFeaturizer(features, dictionary)
>>> sentences = [[["sinh", "X"], ["viên", "X"], ["đi", "X"], ["học", "X"]]]
>>> featurizer.process(sentences)
[[['T[-1]=BOS', 'T[0]=sinh', 'T[1]=viên'],
['T[-1]=sinh', 'T[0]=viên', 'T[1]=đi'],
['T[-1]=viên', 'T[0]=đi', 'T[1]=học'],
['T[-1]=đi', 'T[0]=học', 'T[1]=EOS']]]
Release Workflow
- Change version in
Cargo.toml
andpyproject.toml
- Push to branch
core
with commitPublish Underthesea Core
- This will trigger
release-pypi-core
action
- Check latest version in pypi
Note*: Run a self-hosted for building macos-arm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
underthesea_core-2.0.0_alpha.0.tar.gz
(560.4 kB
view hashes)
Built Distributions
Close
Hashes for underthesea_core-2.0.0_alpha.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c0737428d9ba36086743b28fda7d4f6dba74ced8a6d7fc9da70e309ca1260ce |
|
MD5 | 301191b328703225d4b4c85e51e8911a |
|
BLAKE2b-256 | a9405c757ca977dcbe78ac73a5b72d4447563a6ef7ea19dd5060bb2141531e99 |
Close
Hashes for underthesea_core-2.0.0a0-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0719039f88fbc35cb0a0f2802d2b7618ecade51c2677e0e42d9000fbd5fd90bc |
|
MD5 | 8e6e25a8d66eb760f86dd0bb9af7f434 |
|
BLAKE2b-256 | 1293a1c0f4791636a2a92aff1cd13f3e206d7bca53a43783bc37d4ed5049c8f5 |
Close
Hashes for underthesea_core-2.0.0a0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7861b7fc688c9e02f158a92f7c76612f39de1aa9fad4ce256b135a2988b280c |
|
MD5 | eb160f2427910844a090e5994ddce5b3 |
|
BLAKE2b-256 | 7a655b88eac84267bc82a35ab9b05d7b6fa9365f3d03db0255df2babf3a82fa5 |
Close
Hashes for underthesea_core-2.0.0a0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b859f0a681b875a2b79a273846b9bb868bd4e07dc6691399989213151550977b |
|
MD5 | c04c060f67ccf3aafc3415c096bded49 |
|
BLAKE2b-256 | 7310052b5542fc672019022e1c2f1d141c562a8ece45c6e204b9c6338a754087 |
Close
Hashes for underthesea_core-2.0.0a0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1af0cf2935e87f1efa48f2f49af3c493114f5f8ae1ecc3b15b6e75bbe8223d7 |
|
MD5 | 4eb3281361c2af1ba92f7820c697c46f |
|
BLAKE2b-256 | 76711eea3c35bd9ab4645ec82e3c71250d6ef953f52bde859511f44f418dd562 |
Close
Hashes for underthesea_core-2.0.0a0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 837e52c57a16f0e86ed35ebcb9c97883421ede98b5278a9d68de2b0b75cfc2a6 |
|
MD5 | a8c625445fd8139104fd305b11278602 |
|
BLAKE2b-256 | 0bb59c19b66812e068cb6eefcdde2288ba44bdfe132d59b8ad4f74f3c7237b4f |
Close
Hashes for underthesea_core-2.0.0a0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf5a982f03af78b46bacd042a871c9959058a2e3f782f7ef757be326ae219b87 |
|
MD5 | d31d16febb12bbc2a71ea7cd6dbdcd28 |
|
BLAKE2b-256 | ccfcc0fcfd7329a8bda8d640e600a3af0fcd06ac50a77b358c51b5481abd4773 |
Close
Hashes for underthesea_core-2.0.0a0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2131ff37c6b4977c02ccd1f9b9a7431d4cd15d7671e5321463fb54c827320ecf |
|
MD5 | 22f401550c28acc9cfc8da9b8296e964 |
|
BLAKE2b-256 | 4a995e5f0b51a555d0a340dbe0e063ccd6c16409f6cd561ad9cf96f684211c54 |
Close
Hashes for underthesea_core-2.0.0a0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd652cd7285f608578d990dce8f6d05e0769ae6e64da4d3bcf643b1dd8b025cf |
|
MD5 | 5edb540cdc2c99ede3e56e51aa4e472e |
|
BLAKE2b-256 | c490b79e04ea9619626eae4217962affaa1acc32564ed3cf97a3c43fd1264bf1 |
Close
Hashes for underthesea_core-2.0.0a0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a122681027350ab5f616de7530864753de07b73c65de631da6c0a06db028dc03 |
|
MD5 | c1994c1a7c1d9d048bbd32f6edb9ebeb |
|
BLAKE2b-256 | effda50a655345145503dbdb83d8085e87f5f291ffad7714df365aea841165a4 |
Close
Hashes for underthesea_core-2.0.0a0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8b474a335584cac4b50bfd347fc9e57fedbf6a6c438312ecc70b3f82a6e9ee |
|
MD5 | fbbcf2c202e95841160c13af484cd058 |
|
BLAKE2b-256 | dcf7e77c43d7ee71edf51d9a4a1048375d42b53bc65ee5d49f25ea579207bd8e |
Close
Hashes for underthesea_core-2.0.0a0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b2e5d282abc99b350d1dff3e8fdc89b68adbab0ef96af63a5ff5287b8b976e |
|
MD5 | b388784d1ddf28bb2879939adc0169df |
|
BLAKE2b-256 | f207038e93189c12dd3b954fc48dd10d7e59dc0326d52a8b011699de04dfd9a8 |
Close
Hashes for underthesea_core-2.0.0a0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 555c54e2061a1a66f7b25338bf278d70673a8f0adadcfa1a0af038f4181cc4e6 |
|
MD5 | bd8b1ccb52bbe3c17fd0a4c1e09d2ba3 |
|
BLAKE2b-256 | 7ad0696bb7dd3eaddd7c6986935e13fd2285547b921365316e16580f8f92eb93 |
Close
Hashes for underthesea_core-2.0.0a0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af0c6a2661b311e527982a90cd82f96691450f12c74c4e42f81bef59bd4088b0 |
|
MD5 | 28e9da31007d5e8cc0ba985b8dbad791 |
|
BLAKE2b-256 | 29e602b3de33f9925d739217bd1465d1c212a3880f95217cd07e875c7bbe91b3 |
Close
Hashes for underthesea_core-2.0.0a0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9f2ad88e1fe1f35deab0aebd0170f642c7efe5479dd13e9722278a530d87005 |
|
MD5 | bd802a0a5b68293c806af3044afaf957 |
|
BLAKE2b-256 | c912cb83b68c1a0cbaceb2999c9e2faff3038e9a28863aae229d0d77b370f980 |
Close
Hashes for underthesea_core-2.0.0a0-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e97863fd7da1bc7c002575427b093a1b6e4331b43ea8023b9e8a66cd4daa73 |
|
MD5 | a78ffc6eb180508673641e5bcbc6d6f7 |
|
BLAKE2b-256 | e2ad08f7d74c27dbceffef2f8ada2462594c15a4997100067cee1ee514185774 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85cada662fca4585b170d83488383a86f11ba3eecccf97be0791606d8da581f6 |
|
MD5 | ebda05d5beaabd5f059816ca37277a64 |
|
BLAKE2b-256 | e6f2d4b008e4ff8f0888d37c83a2aea00b10a803857dd8e0dd4a3f927d59a4e8 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp311-cp311-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa51eb8d57ce1295c5348ffd0020e979613672939421aa74c930381fedd37eed |
|
MD5 | c7bab8685e4bc9a4b82a1b3e71a41e1e |
|
BLAKE2b-256 | 73f811f2145b8aea8a635d9b6901339233d041fab279dc43ed9cf59cead411e9 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5bfb579f30c2014f3c67eb8d9492bddc390798ded1c91b5668bb68abe9f1140 |
|
MD5 | 6b5233b9a9626affa4e189305c229190 |
|
BLAKE2b-256 | 7c38a692f318bea149f54973b6bc5072c7d5b48f2b4b3b8c4df48dcb83d19b46 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d017ed165bcbdedd47076d5c4f8ec8fb70ea0e4061fcbb473eec53337c69fc68 |
|
MD5 | 7e9e06d09021748bf47bcaf02b5bcac2 |
|
BLAKE2b-256 | afe3f9d511d0e235966be65354980c5dc792e7d6634c93611f078c1493f2fb71 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp310-cp310-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3af40b5f063bde7df5ee784aeb57bc84c2b45cddd7b9da5cd1831e602ee6ce3 |
|
MD5 | 75f7ca4bd8dfb3135ec14cbe783c7c2c |
|
BLAKE2b-256 | 7cd7e5a63152b6122b69e20df37548ca44b0a19d36c7497cd1638515c2d281dc |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85bf8c8807b15b7d83472504f24a87295369a6b11f260364619decc675bcb5c3 |
|
MD5 | c549836370d8fee7654ecd5975bb3ff5 |
|
BLAKE2b-256 | c6c74f6e1303eab38f972a17ac27b0bf59dfcd36f54b6de94479491babb7dbc9 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c65b3309d992cbd97064086b3c8a794dfce27cf161421c895d9d348a5bfef5 |
|
MD5 | 5c5a3b43f9bef4fd0fcf7f1b2d93f17d |
|
BLAKE2b-256 | 6667141fdffafceb0998498dd3f2ac54186916e1dbce05a1ce94e96b04ec01cb |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22db4db2b43672a2544c3ee48bf1c829ebc77e452704bf3a1d8a76065a371278 |
|
MD5 | 4d4aafd45e69db3ea02624fc071dbda1 |
|
BLAKE2b-256 | 91b573459d447f5d31fed207a16f19b9a31dc07b219e7960be65274fa58a3be0 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0537f9deb28522c92d4e3a638d8765bbc25de9ca81edc8bc5b91546b0b27108d |
|
MD5 | b52a01a3bf1749ae4880a8328cd824b4 |
|
BLAKE2b-256 | 1136eed62f3d3032d9ff023391d0492a94b984fa951dace02922b2e079b1f52a |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb68e7b92b30920b9d08b176ebe87c81a85c3cf206dd0eea538e5b4cb81bd45 |
|
MD5 | 4bace10924dda5706787f869f028f9d0 |
|
BLAKE2b-256 | bbf39e83f5aa3e82381af7c74783777f3d8bc5c9bfd20f5e4c92c423abfb61c4 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4e8f822da6725d078a4c231ff1d91e1a56183ee63e0ef977de04b1bf1d4617 |
|
MD5 | a01133b46a05419fd0f7af6c54cb684f |
|
BLAKE2b-256 | e1be635f4d3f7261b065a09486b9ea70aefd04eab8c1538cc9d78921dfebb316 |
Close
Hashes for underthesea_core-2.0.0_alpha.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed6f12ce9801cd4846d61819192ebad3d804c91aa200c0c13a5fab77818f85e |
|
MD5 | 48edecafe90064ec88ac718a8772e4a3 |
|
BLAKE2b-256 | cacdd8ed1269ef511e143c6fb9443b5a7996dab303e965e8e8bf929036e05d94 |