Skip to main content

sep-text

pytestpythonCode style: blackLicense: MITPyPI version

Separate two texts, paragraph by paragraph

Install it

pip install sep-text

# pip install git+https://github.com/ffreemt/sep-text
# poetry add git+https://github.com/ffreemt/sep-text
# git clone https://github.com/ffreemt/sep-text && cd sep-text

If your environment does not have a C compiler, install fasttext.whl first. You can find fasttext.whl from https://www.lfd.uci.edu/~gohlke/pythonlibs/.

Use it

from sep_text import sep_text

print(sep_text("This is a text\nMachen wir etwas"))
# ('Machen wir etwas', 'This is a text')

print(sep_text.langs)
# ['de', 'en']

print(sep_text.conf)
# [0.994, 0.004]

Metadata

Release files for sep-text 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sep-text 0.1.0
File Size Uploaded
sep_text-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sep-text 0.1.0
File Interpreter ABI Platform
sep_text-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / sep_text-0.1.0.tar.gz

Download URL sep_text-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
802287410a42071cccfc4e88005dc05f252bdf7f26abd87f5ed3ff2de9b0a684
BLAKE2b-256 checksum
How to use checksums
9edf09c1813405bc935f9840cfd416e3e3d91d3015e3601e92f973368a16bcd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.5 Windows/10

Release files / sep_text-0.1.0-py3-none-any.whl

Download URL sep_text-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27e503a912d9acdd17d8112d837d0b3230ff7acbb9cbc21e34637446f58a336b
BLAKE2b-256 checksum
How to use checksums
9ef7998b51b6788e5a8c8d6d125f8afc0c223dde318c801bc49de6f4b2948c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.5 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0 This release

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