Extract the Date and Time related phrases from the sentence written in English Manner and Hindi Language (Hinglish) and tells the exact date and time correspondingly. Built from scratch.
- git clone https://github.com/Chirayu-sopho/Hindi-DateTime-Parser.git
- python main.py
- Give the text
- In root directory, git clone https://github.com/Chirayu-sopho/Hindi-DateTime-Parser.git
- In python, import hdtp
- print (hdtp.HindiParser("kal dopahar"))
[print is no longer a statement in python 3]
In root directory, python
>>>import hdtp
>>>print (hdtp.GetEmails("input text"))
{Gives list of emails in the input text}
>>>print (hdtp.GetIndianPhoneNumbers("input text"))
{Gives list of phone numbers from the text written in Indian formats)
>>>print (hdtp.DiseaseFinder("en", "input text here"))
{Gives the disease and its definition from the database.txt corresponding to the input text}
>>>print (hdtp.GetSentences("text")) >>>print (hdtp.GetTokens("text"))
Contributions can make the implementation applicable for a wider range of data. You may contribute as follows:
- Implementing //TODOs in the comments in the files.
- Making issues for examples that are not working correctly.
- Making code better and effective.
- Implementation for more data and enlarging the test data.
- Any form of contribution would be highly appreciated.
Amit Manchanda for Guidance.
Google and Stackoverflow for solving issues.
©MIT License
Feel free to contact me for anything related to the repository.
cite @Chirayu Asati