Skip to content

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.

License

Notifications You must be signed in to change notification settings

ArIESIITRoorkee/Hindi-DateTime-Parser-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hindi-DateTime-Parser

platform platform

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.

Few Examples

Usage

Running the code at terminal

  1. git clone https://github.com/Chirayu-sopho/Hindi-DateTime-Parser.git
  2. python main.py
  3. Give the text

Using in your own project

  1. In root directory, git clone https://github.com/Chirayu-sopho/Hindi-DateTime-Parser.git
  2. In python, import hdtp
  3. print (hdtp.HindiParser("kal dopahar"))
    [print is no longer a statement in python 3]

New Features

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}

Contribution

Contributions can make the implementation applicable for a wider range of data. You may contribute as follows:

  1. Implementing //TODOs in the comments in the files.
  2. Making issues for examples that are not working correctly.
  3. Making code better and effective.
  4. Implementation for more data and enlarging the test data.
  5. Any form of contribution would be highly appreciated.

Acknowledgements

Amit Manchanda for Guidance.
Google and Stackoverflow for solving issues.

Thanks

©MIT License
Feel free to contact me for anything related to the repository. cite @Chirayu Asati

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%