Skip to content

Pendulum is an intelligent text parsing utility with a focus on time.

License

Notifications You must be signed in to change notification settings

TomLavenziano/Pendulum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pendulum

Pendulum is an intelligent text parsing utility with a focus on time.

License: LGPL v3 Under Development

Through the use of Natural Language Processing (NLP), Pendulum is able to take in a blob of text and extract context along with fuzzy dates and times. Through this extraction and evaluation the system can determine whether the given text contains any reminders, due dates, or past dates.

Combining the extracted context with the extracted dates allows for the generation of a Smart Note that automatically attaches reminders and dates that are relevant to the notes content.



Prerequisites

  • Python >= 3.7.x
  • virtualenv >= 16.1.x

Installing

$ source ./env/bin/activate
$ pip install -r requirements.txt
$ python setup.py install

Getting Started

There are two ways to run Pendulum:

  1. In demo mode with preset text: python pendulum/

  2. Running it as an API:

python pendulum/api.py
curl --request POST \
  --url https://localhost:8000/SmartNote \
  --header 'Cache-Control: no-cache' \
  --header 'Content-Type: application/json' \
  --header 'Postman-Token: f334235d-c5c6-4490-8d8f-0c35ea130042' \
  --data '{\n	"note": "Finish the homework for Artificial intelligence by this friday"\n}'

About

Pendulum is an intelligent text parsing utility with a focus on time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published