Code Monkey home page Code Monkey logo

hindi-datetime-parser's Introduction

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}

NLP Features

>>>print (hdtp.GetSentences("text")) >>>print (hdtp.GetTokens("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

hindi-datetime-parser's People

Contributors

chaira19 avatar

Stargazers

Akhil  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.