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
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.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac28dd333b7761e0c0857f5e861d26a1d47ebbbd542faac5ead7ad83df103b38 |
|
MD5 | 665d8c7c7caf8ed67a3c2447c82f25a7 |
|
BLAKE2b-256 | 149ffa74862b1e94e352501c9ff259e71673a1b48337da96b0a342b85df48af4 |
Close
Hashes for underthesea_core-1.0.1-cp311-cp311-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35191e661b783e4adb4757613f80b33b1049682a7ed0900621cb1704a5f21846 |
|
MD5 | 887643905b5d7bee90f4b409105e7bcc |
|
BLAKE2b-256 | c7f0df5c2ed54158ff44657540c67ff719ca333ff04b16da6b705bf4772cc3d2 |
Close
Hashes for underthesea_core-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd2e20bd3c1e0cefc80b5599dc66f29961f78f0fa657888747233b501c4e7e82 |
|
MD5 | e8afc681742cb99a894ff033091c8155 |
|
BLAKE2b-256 | 90627b6c3eb055bdeb53c1d55dfc77c01c666047dc0c37ccd8f0ebcd856b410d |
Close
Hashes for underthesea_core-1.0.1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dcaf2ecb2ca987f7fadbd20f4244a92f32404edd7cbdb32ac2dc18fc9326f07 |
|
MD5 | 0cc0f345a4ef121c8b6d1e1bf3981caf |
|
BLAKE2b-256 | a3b5204c708e518784bb8db155733ba37299c85b21527186deabd57c4defcc62 |
Close
Hashes for underthesea_core-1.0.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1f6daf54dfdb62a9d273211637fa7ff96cd61903ca6b38f07d244c501a3fab |
|
MD5 | ac41641ea90278f9d0eadeeb9e3a7c5f |
|
BLAKE2b-256 | cfdd7a0529aac8fa2cecace8d264b879789688b586e6380e3b66e84a8af6326e |
Close
Hashes for underthesea_core-1.0.1-cp310-cp310-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 762b8acda6f5501816ba77fc2d8a01adc7bf7f312ac30d402f090a0bb4d039e8 |
|
MD5 | d625980d5f9e2f9aef9cc9c9cebbc56e |
|
BLAKE2b-256 | e04f03fb2a6e899c4a61a08d41a862bf66b4a516ae0d0038705d54c054aedac7 |
Close
Hashes for underthesea_core-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 985c8fc02fc438dd2d9f221799b8838fa89bc266e3cfb072d6acaafb9226e6e5 |
|
MD5 | 8b42076244713893af84f94a4dff4ed5 |
|
BLAKE2b-256 | 3037d39bff5e0d797f8fbbdc3ba9f7d18ac7a3434fd7b1a448f68cf332f50413 |
Close
Hashes for underthesea_core-1.0.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee533fcc1dfe1536fa7f709a66e6a804951dbfe9f6031cd97cb7c9dc1db30dc2 |
|
MD5 | ca98c860ae6aa6e7d52837934ec67731 |
|
BLAKE2b-256 | 63e3d86a8a07465a7b99036ba61cf829c7376ac3eb4935ee6c3536bda99b1b33 |
Close
Hashes for underthesea_core-1.0.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a39de8a2f37d616fc5632627e148a000b32851c741dd8bc23afb7b8ad85734 |
|
MD5 | 3d0446c41b32e6e125b69c0a09570c07 |
|
BLAKE2b-256 | feab747fbee1bdb724c9963d679b9dc733d8477c7238263124ce5ff5804a2a8d |
Close
Hashes for underthesea_core-1.0.1-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24906d35f3d1c957f370c0342c3cf7f0365d9e1623549011275160d91ed8c96d |
|
MD5 | 9e6fbb85f707949a21ff338ffeaf228b |
|
BLAKE2b-256 | d4ccb01dbf1879786b8f5c71b25b2b1a79adb6e63b23f0fd2260e8947810626a |
Close
Hashes for underthesea_core-1.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cebadb55213858ca23c9b592ab18b7207d18051691446d84ec9c609232f85712 |
|
MD5 | 964219fa8fbb0634d6020ce50298d47d |
|
BLAKE2b-256 | 64557721598452f53e45b14d4cea1a4b3a0f9855984d10edbfef939b9baba794 |
Close
Hashes for underthesea_core-1.0.1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c0b7ed6e735557fe351dcdff80cfee7f0fc60a45ab06bf01258190881a55e3 |
|
MD5 | 150255215da86aa73cdb48293ab48f58 |
|
BLAKE2b-256 | 4b84bd3ae6d4c498020d9579e3115698a91bfc3dd5452520bd628b9a77564f9e |
Close
Hashes for underthesea_core-1.0.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b6141aa7c18de80f69becdd9d2a6b9b6ad883b7b437ca29e0ec5b96f0f9e02 |
|
MD5 | 35b326eb54ed7bd86a4811beecf8d3b2 |
|
BLAKE2b-256 | 93f80c33a20ba59d74a8914def7ca57cf2df46de4a7432f7bbc77bea216d2280 |
Close
Hashes for underthesea_core-1.0.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31d896e17444950b9ca7c988c292b8dcb358d2eca25b613eeb0ecb8cb5d4b55 |
|
MD5 | 87bc558f7c6246d1b16054e74c9927a8 |
|
BLAKE2b-256 | c7fc263bf388e207443d7a47189082b6489cf9f33f7340fd69f4da8ac0cca7b9 |
Close
Hashes for underthesea_core-1.0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d0b145fbb8204dd67e3921e82c32397aa05fe791e42e4f656262535a291d49 |
|
MD5 | 983de471bc3399378a55d214e2f90583 |
|
BLAKE2b-256 | bc9b4f0a8a220cc742a8f944d81f686480ec2586de3c2fa255f8b5deef341c09 |
Close
Hashes for underthesea_core-1.0.1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f156ad789fd0af78d499279e938375b897d9f74865c89384da7408978b517537 |
|
MD5 | e32132bce489215def75fbdbf345863c |
|
BLAKE2b-256 | 66b7c9c6a77a314c341270fe4dc90a58242dd4dacd7d5d97578fd9f224b4c8dd |
Close
Hashes for underthesea_core-1.0.1-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f3da2bc1b5a92f124d99e34c3fd77de8c86d132773d81584c039e195bcc09f1 |
|
MD5 | 654f946f414498f30fa85232f5dae2aa |
|
BLAKE2b-256 | 2e59337a375cc12f8d2ea309f58998c7f05caf917f952537da07c11ae10ecaa1 |
Close
Hashes for underthesea_core-1.0.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32eb4232019fcb08c2c41a027899494bb4e4a7ecf0adce934b30a8f90f293f3b |
|
MD5 | 77fbaf0cf85d979142fe8dcb7a7ef2f6 |
|
BLAKE2b-256 | 90cb9906a4a9716b53f814bc093b5b762a9c01b3f86eeee7243a2664a2e51924 |
Close
Hashes for underthesea_core-1.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12736a5c2ec30487b8e6d0f20277ae34d83a2f36f0aeba47a12711394400ea0 |
|
MD5 | c5bfce0e2dfee02b67918334455169cf |
|
BLAKE2b-256 | dc0e2b036b08cdb5144e6187ba9454febe8c36720ff101ed6ddfb2dadd7f2fa4 |