Skip to main content

Tamil Sentence Extractor

Tamil Sentence Extractor is a simple Python module designed to extract Tamil sentences from a mixed-language text. This tool is particularly useful when you need to isolate Tamil text from a larger body of content that may include multiple languages.

Installation

You can install Tamil Sentence Extractor using pip:

pip install tamil_sentence_extractor

Usage

Here's an example of how to use the extract_tamil_sentences function:

from tamil_sentence_extractor import extract_tamil_sentences

# Sample input text containing mixed languages
input_text = "யாதும் ஊரே யாவரும் கேளிர், means The world is one family in English. जीवन में மாற்றம் ஒன்றே மாறாதது यानी परिवर्तन ही स्थिर है। Telugu లో ఈ పదం అంటే మార్పు మాత్రమే స్థిరంగా ఉంటుంది Malayalam യാതും ഊരെ എല്ലാവരും സുഹൃത്താണ് എന്നതിനെക്കുറിച്ച് നമ്മൾ കണക്കാക്കിയാലോ"

# Extract Tamil sentences
tamil_sentences = extract_tamil_sentences(input_text)

# Print the extracted Tamil sentences
print(tamil_sentences)

Example Output

யாதும் ஊரே யாவரும் கேளிர், மாற்றம் ஒன்றே மாறாதது

Features

  • Extract Tamil Sentences: Isolates Tamil sentences from a text that includes multiple languages.
  • Simple Integration: Easy to integrate into existing Python projects.

Requirements

  • Python 3.6 or higher

Contributing

If you have suggestions for improvements, feel free to fork the repository and submit a pull request. Contributions are always welcome!

Author

Release files for tamil-sentence-extractor 0.2

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

Source distribution (sdist)

Source distribution for tamil-sentence-extractor 0.2
File Size Uploaded
tamil_sentence_extractor-0.2.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tamil-sentence-extractor 0.2
File Interpreter ABI Platform
tamil_sentence_extractor-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / tamil_sentence_extractor-0.2.tar.gz

Download URL tamil_sentence_extractor-0.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b44b47e479bf4cd9c5a4e13c2e7c0acc8de79c551d67a2a42c0357dc22b6373c
BLAKE2b-256 checksum
How to use checksums
ce26ac1b41ce7d94e3f1cd28420689fd3a8fdb4f2b04f6c98a0a5e848776ed5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.7

Release files / tamil_sentence_extractor-0.2-py3-none-any.whl

Download URL tamil_sentence_extractor-0.2-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36fd204023116249d967c111b3062c663dcb074cf5f60e40d90f083a46984dc1
BLAKE2b-256 checksum
How to use checksums
bfb9b952152f7404571ff04e53bf03a380a433b4f10232664e14849c2b899db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.2 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