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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for underthesea_core-1.0.3-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f706d96c29016826cac21ba017d5d20c0182cc53efdee4a76c2dfe1d25717a4 |
|
MD5 | 92d767ada8a042a795be227972dd963f |
|
BLAKE2b-256 | 370de935b38f036b4aa22e260135634d0ec6bb0c692dee0310f335098077c490 |
Close
Hashes for underthesea_core-1.0.3-cp311-cp311-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b1deb191688d159f52f20e6fda64f6d73b99ea7417004d49b89a9b1f3303307 |
|
MD5 | 6252af1386569ecb7bc77cae74f4fccc |
|
BLAKE2b-256 | f75dc21e3471f3e41c058e3e7b24acd6f2e725c4d2162bef88bf90ac710757ae |
Close
Hashes for underthesea_core-1.0.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b35429386f47a18343487d91fd4f0f9757e66269204bd9a2f6008d8d7a635b |
|
MD5 | 1f93c4178f155fa4bedd2c514c55a873 |
|
BLAKE2b-256 | c508368d353259dbf06ce2cb082a42f3801d1bc51ffab054f178427c310270f9 |
Close
Hashes for underthesea_core-1.0.3-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcb659b556beaf2f54b266af4acd10d63f39b4ae35bc3f8af2bc1cc3b96e9c90 |
|
MD5 | 5625de68ede26b758cd6d245e25a5bd8 |
|
BLAKE2b-256 | d645aaa302eee6e79ae9a5026a0de7cf3a22e5025fe76689b2e9a22629d71e96 |
Close
Hashes for underthesea_core-1.0.3-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5e730e841d9f2db6f7400fbaa3cb2246e3e7e357a11c179e6615f0cf462a9c |
|
MD5 | 11a502c491fcb992b10568549965b105 |
|
BLAKE2b-256 | 8234090fc6d87cd48c36dea79b9655f9c0be6bafea7762f5c23b4f24b20eb5a8 |
Close
Hashes for underthesea_core-1.0.3-cp310-cp310-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70efe20328d97909836004be7610843226fb5567a7501ded8697335fe1bebe87 |
|
MD5 | 2dadb7d0c428fb70a344b4acdb160ea6 |
|
BLAKE2b-256 | 24da446311b6358364e298f7c2d1e7f7dd5be3ca0981447183b99d0a14e9782f |
Close
Hashes for underthesea_core-1.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a1c4aabde05acc6e8b0de9af0d2f402c3b1e26b44669e8a2a3d447fd0e0c3d3 |
|
MD5 | 126a89f2eb7886a48db3c961c68ffa5c |
|
BLAKE2b-256 | 83c46eca4964b9c7f182d70a0a55b766379f6ddd44108355a397a9cbf44bc77f |
Close
Hashes for underthesea_core-1.0.3-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34751036f516705691dce5fd304c9fd01eb0003252d41cc6fe2d2614ec492e1 |
|
MD5 | 4e830dc4a07a485181ebcb5aef896287 |
|
BLAKE2b-256 | 39114960f8c6fdca244af61a7cfc27c3531f6563af325a93aeb71f3942c02295 |
Close
Hashes for underthesea_core-1.0.3-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e62f1ac12dba73197098bcb66d3d0e74cc232dfe6724c1156716a130c5594c3 |
|
MD5 | f74c7b13e154fa8225139cac389940c1 |
|
BLAKE2b-256 | d39c3f9f20175ec0bcd9ee3096d3477b3c4cde51d1f3ad1f5b572d85dfde1039 |
Close
Hashes for underthesea_core-1.0.3-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c44cddfcd07b9974bba8ae0b2c184c557c35cd3ebfe0a1d1e2cc45e6e70188ef |
|
MD5 | a693e9cd4d4944daefd4d399f2e35af6 |
|
BLAKE2b-256 | 8b83e55260718623c9bb070c1d94d4498739280b7e84d128380c8aca47743294 |
Close
Hashes for underthesea_core-1.0.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae826e2dfa87a5265b8016fbed9ef2c456b22c1956f6deb491d7b37993cd198 |
|
MD5 | 6a3d325bbf9df3484401f729855c262e |
|
BLAKE2b-256 | 68eca99296d8328211b19e1a65bbc953e3346a13ed8822187de6e2ae9b354fe5 |
Close
Hashes for underthesea_core-1.0.3-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb17103ce1c784b95050d55b39ff2b398467097791e852af5260c2bb6260bf08 |
|
MD5 | ead3a91f5bdda5abd1c72d26e3e1e0fc |
|
BLAKE2b-256 | c713ef8caf0145994b2cbdf6dabe4f19b08ce2ac7c67ec0fb32b42893acaa90e |
Close
Hashes for underthesea_core-1.0.3-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 255da8ed6d0f53cae0604174bde1fece9944a18afa40de6747eccdf2ec70dab1 |
|
MD5 | beacc14fdc02e88f24f024edcc5b5377 |
|
BLAKE2b-256 | 9e19ced929e27901b2dc1e688765f8943b02ece5671972dd3f0fc5599889b25b |
Close
Hashes for underthesea_core-1.0.3-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68621a502bccf8c3070ed579998ad0ea42b477d59d5d1e75e2ef7358de116792 |
|
MD5 | c0b98d35f3431f6e35956c07ea17a697 |
|
BLAKE2b-256 | 787eb91ec526d4f4125087875ef7cf42525d208387824b931e94cb2f7aff063a |
Close
Hashes for underthesea_core-1.0.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34c9174bc01d6958ceef8e077a769bbba3d1bfec3a73dfc3898adeb4edfc81d6 |
|
MD5 | 8827935a14158b0ebd2337672d28a5ac |
|
BLAKE2b-256 | 1e0fc99a41a8b24f74cf88761e2219bd24cfc8b7e24de4cfd888ecd9e4ab1abe |
Close
Hashes for underthesea_core-1.0.3-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2974a4d5f31ddd7e502f15d4a06fa3acd289e4d66f459143d6d32481c38bab02 |
|
MD5 | 1c82a06d6fb85003232e5d6350c1c301 |
|
BLAKE2b-256 | d167b87f9cf9440bfe6796875b351cf01177a9e5aa66ac71b84bbfb29b9eb913 |
Close
Hashes for underthesea_core-1.0.3-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3dd86c217aa8b5de0f8a5df8c113b2fb51c3592b858f7d5dc770eaa80154a83 |
|
MD5 | 53e5a6173d0d64c31d74c49176f172bf |
|
BLAKE2b-256 | 6345e4e0ae8547c4d28cb70604907fe9bba46da825b897b6fd1bf35dda2ab3ce |
Close
Hashes for underthesea_core-1.0.3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67b8c4eb5f3f213e0aae2d774b6394a3e5ecf5be68e8749ee60cc68801aca691 |
|
MD5 | 1f9e90b2d1a18e4983c5e0acb693c77a |
|
BLAKE2b-256 | 4f8dbfcb0985922d61498bc33b379910bc7c8e4b2f3a7db3dc2fa39544f59046 |
Close
Hashes for underthesea_core-1.0.3-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6063026cb706b2a17d9b85001ad03e3273241d6a624c2d0410d5ebb2f770afcc |
|
MD5 | 0cbef52d6ec98a500bb54b18850e94f8 |
|
BLAKE2b-256 | 5e7c7396c033b5d6281308d0e5b0cc1e6a9c552145b04a320e666de3c23fbb2d |