A simple Python module for extracting Tamil sentences from text.
Project description
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
- Sathishkumar K
Email: sathish30062002@gmail.com
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tamil_sentence_extractor-0.2.tar.gz.
File metadata
- Download URL: tamil_sentence_extractor-0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b44b47e479bf4cd9c5a4e13c2e7c0acc8de79c551d67a2a42c0357dc22b6373c
|
|
| MD5 |
40f35d82c726dccfacc06c9cd3767fe1
|
|
| BLAKE2b-256 |
ce26ac1b41ce7d94e3f1cd28420689fd3a8fdb4f2b04f6c98a0a5e848776ed5e
|
File details
Details for the file tamil_sentence_extractor-0.2-py3-none-any.whl.
File metadata
- Download URL: tamil_sentence_extractor-0.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36fd204023116249d967c111b3062c663dcb074cf5f60e40d90f083a46984dc1
|
|
| MD5 |
b1b38bcf052cce77397aae29cd6fc51c
|
|
| BLAKE2b-256 |
bfb9b952152f7404571ff04e53bf03a380a433b4f10232664e14849c2b899db7
|