Skip to main content

No project description provided

Project description

스크린샷 2023-01-02 오후 12 56 27

tossicat-python

PyPI GitHub license

tossicat-python은 현재 PyPi에 올라가 있는 파이썬 라이브러리입니다.
해당 소스코드는 PyO3를 사용하여 tossicat-core를 파이썬에서 사용할 수 있도록 바인딩 합니다.

사용방법

먼저 pip를 사용하여 라이브러리를 설치합니다.

pip install tossicat-python

해당 패키지에서는 크게 2가지의 함수를 지원합니다.

postfix(word, tossi)

이 함수는 단어와 토씨(조사)를 파라미터로 받으며 앞 단어에 맞는 토씨로 변환 후 문자열로 합쳐 반환합니다.
예시 코드는 아래와 같습니다.

import tossicat as tc

word = "테스트"
tossi = "은"

result = tc.postfix(word, tossi)

print(result)
테스트는

modify_sentence(sentence)

이 함수는 문장 문자열 중에서 중괄호 {단어, 토씨}로 구성된 값을 파싱하여 올바른 토씨로 반환 후 다시 반환합니다.
예시 코드는 아래와 같습니다.

import tossicat as tc

sentence = "{한국어, 은} 정말 좋은 언어입니다. {커피, 을} 정말 좋아해요"

result = tc.modify_sentence(sentence)

print(result)
한국어는 정말 좋은 언어입니다. 커피를 정말 좋아해요

https://www.youtube.com/watch?v=H9Fj___zmkg

transform(word, tossi)

이 함수는 단어와 토씨(조사)를 파라미터로 받으며 앞 단어에 맞는 토씨로 변환하여 각각 반환합니다.
예시 코드는 아래와 같습니다.

import tossicat as tc

word = "테스트"
tossi = "은"

result = tc.transform(word, tossi)

print(result)
("테스트", "는")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tossicat_python-0.1.3.tar.gz (14.3 kB view details)

Uploaded Source

Built Distributions

tossicat_python-0.1.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255.9 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-pp310-pypy310_pp73-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (442.1 kB view details)

Uploaded PyPy macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (254.5 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (439.0 kB view details)

Uploaded CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp312-none-win_amd64.whl (126.5 kB view details)

Uploaded CPython 3.12 Windows x86-64

tossicat_python-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (254.4 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (439.2 kB view details)

Uploaded CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp311-none-win_amd64.whl (126.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

tossicat_python-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (254.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (439.9 kB view details)

Uploaded CPython 3.11 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp310-none-win_amd64.whl (126.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

tossicat_python-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (254.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (440.4 kB view details)

Uploaded CPython 3.10 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp39-none-win_amd64.whl (126.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

tossicat_python-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (440.4 kB view details)

Uploaded CPython 3.9 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp38-none-win_amd64.whl (126.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

tossicat_python-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (254.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp38-cp38-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (439.9 kB view details)

Uploaded CPython 3.8 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

tossicat_python-0.1.3-cp37-none-win_amd64.whl (126.1 kB view details)

Uploaded CPython 3.7 Windows x86-64

tossicat_python-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (254.7 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

tossicat_python-0.1.3-cp37-cp37m-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (440.0 kB view details)

Uploaded CPython 3.7m macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

File details

Details for the file tossicat_python-0.1.3.tar.gz.

File metadata

  • Download URL: tossicat_python-0.1.3.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for tossicat_python-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cf48b142cf11522d149524e26b434d59d25f341ec5c56b91543725fab427a2ee
MD5 6e6699b294ce857dc6f9e2a54c435015
BLAKE2b-256 9b2a5cb037f78df47b605c2e7e25105687727d31739f5284588f6eeec505e4f9

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b83556db33fcfa53074bd16b0e0e61dcf2663d30b086d844da4045db96e01c0
MD5 3597dd569bc156433950b49e53eddf2b
BLAKE2b-256 908674f1e295c59d73f23a7fb9b158c533632f46605014b1241017ea988edbe7

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-pp310-pypy310_pp73-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-pp310-pypy310_pp73-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 550e32b192c5de73302225814c3077fd81ecc16fd6cf1ae441672251af170c1a
MD5 fa299d985507f322379d99a9fb8505d3
BLAKE2b-256 460b08567f8f0cfb917370811f6ac901d8d5392800aaffaa2f4cb6281b8a21fe

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82ee1a794d9a3b14fee1cf1271368628f8b4603ad46dfb52248d46d7b59c78d6
MD5 8ae015b84b0eba89ca16beb2afa937c3
BLAKE2b-256 7ea6d608ddd33d1acc51f9103b412b23f374916a8cda78f5c5e5fabc032b6965

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 0c11f557747c4f23551c3d1cc6a71751c37f12e964f9e5959f73821e3ae01c85
MD5 64f7ede88082377c62c5f41d2dcc2b20
BLAKE2b-256 cfa2c33999ef278a97473614982d11dd5e2efda249f2ccd3e4b534ad8b16624c

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 dde0fcc4ed57418b517675580ba69594d22542a510655fda60faa88fa3db6990
MD5 732d4a4f6a05dfefe701b63553a9aa52
BLAKE2b-256 8fc5343b34b99cdba55cec49f80c29667822a8ac70f7609609468ce3fce84fa2

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77b190a2e3f71d219251fc898f92a107ebd9a99ba25977541d1d0c27939702ac
MD5 353f6dbd677c9727085ef2a6127d6acb
BLAKE2b-256 ec17661a3a9cb5c706840f6304dac6edb30e2824c7e0629a4f9e265a4cdc6262

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 a5ca1c53aad822d028925008dd54a029d279c20a2a83d547a31ecde3a25299ab
MD5 6b3b157dbcf785221285ea10f9d79f22
BLAKE2b-256 5027d2c4622c44517a2944cf7f4cf0ff8fb79cbacef55b69ca817528d1c3c5eb

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 00dfdab7260373c8aae62ad363ac26647fcfe1012b9811732cc089565e8c6078
MD5 831cedc1b79cf5e0be4d5f1810dec73e
BLAKE2b-256 a68bf16a10bf339ba372dc862257b03c07e55dd816e9ec6e8bcfe4ace5d19421

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bbe4595fb88c101a25f16c0297de3850da9be8bfb5b9d5d5dbb9e34f5ad8a32
MD5 f69ff06b97ec28330bb3394bfa2daadc
BLAKE2b-256 9aa01fbbd6aa0d5f8777253c56d8bc7793920b682d4d238314c669e1bf60a429

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 142bb6550afe01f70d7c3cbfea1d7e7adbd5e343a7dcf920e66d3f877916ef72
MD5 baea8565b3f08cb1f2d6a73c46b089b0
BLAKE2b-256 c121dc6df4b1c6d0ea2ced73b530f611d9756f977a4a6a077de2fa27f2d46096

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 d7b8c22e49fa20f90544a5cdbcbe321b34214615adfa05535cf87a69bd78edb4
MD5 d89f1dd0dedf5e4fa8cf01df8069b53f
BLAKE2b-256 ffd64e93909dbfe3e1f140a2c46d3025df36820f3dda6e920e5f7385e88b1106

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 080115ad6a73d9dc786f8f58264505360c9b8345764764e670aff2a624ea7fa7
MD5 6a99a552c28d17ff239920ad8b067c76
BLAKE2b-256 3e61f29c39bf14abe3c4905a02c250c36a9e8f3a2e300aa2ce18ef12351a58a9

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 7785eda5cc4b1c996c0ba80a383bb1323cbb16d41562f3d6fb56440005bbf2bb
MD5 1fbaa53c2e8487cb8ed827be3c5db009
BLAKE2b-256 b0bf04c51241d0b36f283ebc1a3609e46e2b57fe7a3e4af4707b21a77eccbb1d

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 004345f4b4bb39d35ca7fb56cea2d0c8cd5b20511b360d646bd583667f0d4149
MD5 90c92ab016f7826590c301675807f5b2
BLAKE2b-256 8c7963e88a3c3a674b81265ecf5cda4fcc63b683cc6b66c85361d467eec92fff

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b2a0b4bd9e67445900bba2e19cd9b6f7357981f264a609478e780bff4eee5310
MD5 45b36a81a12bc2b16dca43da2c646e5a
BLAKE2b-256 f63056ab8e5af88479f39e4be67af20b72f5fb4a70880dc3873af9561ee8bf18

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 38edf9df42aabcc1a44fb0e0a872b4b5036328562ef172bb27096621f9788389
MD5 aabe4a9e4920af87e175a663fbfebe02
BLAKE2b-256 3851928db5101e31f3eb64047b44b957c8d413ea111600433727d3f848cadcc4

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 02ba25f872c54063b6b91fcd4fd5c992d62dc1f7cdfc439971d52688159cb4d2
MD5 2088a461709a3b0154af2cbb34b90a01
BLAKE2b-256 bf2ef82171bb3fe86600790f4c758d68abf8b38823b195e7ace4f8c6535c354e

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63ded74192c80614bf3e41cd7105829cff6d758cb5eed803ee55485e0b2beb7c
MD5 66a090e9d5bbdce90f401a1f02accc83
BLAKE2b-256 b6f97141e1b815f7946f411d30d9306eb57c59249c33f6db7deb66157e4b0e13

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp38-cp38-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp38-cp38-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 5df20a8b1272dd4e12b57ad7def4cb82545801f4b5e83dda72688addf3a409d3
MD5 d76807a9a363cbded69cc45cc4fa4d94
BLAKE2b-256 035f3ec3a38aa9592754d71a1edce2266210bed2227498855af88814766c7c7f

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 759d9580db72ab77f626908aa7cdc9e82dc53462546725317dc61fa272a03e98
MD5 bb6ba0a2edcbe390867123e8b44f4f9f
BLAKE2b-256 ce7fa18dfb9400f896b05c55841a91ba3f7e955e351c0c00e24625888e60324a

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3528de4266b7d65032da9bb19ba904096c58054a92af94908b891659e3d4f1c7
MD5 36c2d14e0b3d2c87f879f9a8654fe96a
BLAKE2b-256 c83f967094d6b265e79e2d04f20364b3c3abe81a864b696ad33b31cfec4e7072

See more details on using hashes here.

File details

Details for the file tossicat_python-0.1.3-cp37-cp37m-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for tossicat_python-0.1.3-cp37-cp37m-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 38cd596e5a00123fcb4da384bd070e20396cebff98acc678b268af0482cae641
MD5 3268a37021e0cfef2b3f4adbc64e02e4
BLAKE2b-256 2d4dc891966d905ada1a0a56dad60d66a3852763501ad2b83435d5c9cb0c79dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page