from deepmultilingualpunctuation import PunctuationModel
model = PunctuationModel('ModelsLab/punctuate-indic-v1')
text = "హ్యారీ చాలా చిన్న వ్యవసాయ కలిగి ఒక పెద్ద పొలం కావాలని కలలు కనేవాడు ఒకసారి తన తండ్రి బిల్ ను అడిగాడు అక్కడి భూమి నాకు కావాలి నేను దాన్ని ఎలా పొందగలను"
result = model.restore_punctuation(text)
print(result)
output
హ్యారీ చాలా చిన్న వ్యవసాయ కలిగి ఒక పెద్ద పొలం కావాలని కలలు కనేవాడు ఒకసారి తన తండ్రి బిల్ ను అడిగాడు, అక్కడి భూమి నాకు కావాలి, నేను దాన్ని ఎలా పొందగలను?
Predict Labels
from deepmultilingualpunctuation import PunctuationModel
model = PunctuationModel('ModelsLab/punctuate-indic-v1')
text = "హ్యారీ చాలా చిన్న వ్యవసాయ కలిగి ఒక పెద్ద పొలం కావాలని కలలు కనేవాడు ఒకసారి తన తండ్రి బిల్ ను అడిగాడు అక్కడి భూమి నాకు కావాలి నేను దాన్ని ఎలా పొందగలను"
clean_text = model.preprocess(text)
labled_words = model.predict(clean_text)
print(labled_words)
punctuate-indic-v1 huggingface.co is an AI model on huggingface.co that provides punctuate-indic-v1's model effect (), which can be used instantly with this ModelsLab punctuate-indic-v1 model. huggingface.co supports a free trial of the punctuate-indic-v1 model, and also provides paid use of the punctuate-indic-v1. Support call punctuate-indic-v1 model through api, including Node.js, Python, http.
punctuate-indic-v1 huggingface.co is an online trial and call api platform, which integrates punctuate-indic-v1's modeling effects, including api services, and provides a free online trial of punctuate-indic-v1, you can try punctuate-indic-v1 online for free by clicking the link below.
ModelsLab punctuate-indic-v1 online free url in huggingface.co:
punctuate-indic-v1 is an open source model from GitHub that offers a free installation service, and any user can find punctuate-indic-v1 on GitHub to install. At the same time, huggingface.co provides the effect of punctuate-indic-v1 install, users can directly use punctuate-indic-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.