Coder Social home page Coder Social logo

text-mining-personal-assistant's Introduction

Trika : The Text Mining Personal Assistant

[Always On Feature] The chatbot is always on. So it is always waiting for input.

  • The emphasis of this chatbot is on natural language input and relevant output. It is still a work in progress and I am implementing new features all the time.

FORK AND CUSTOMIZE

  • Please feel free to fork and customize this to your needs.
  • There are tons of cool API's on the internet that can make this a lot of fun

IMPLEMENTATION

  • Download this python notebook and run it using the following options:
    • if you want always on feature, run the asktrika() function and it should always keep a text box waiting for input
    • If you dont want the always on feature, run the trika('what is...') function with your question as an input to the function.

=============================================================

What can this do this so far? (Examples)

Set home by telling Trika that you have moved

  • "I have moved" or any variation there of
    • Example:
      • You can use this to say "What are the directions from home to Rogers Center?"
    • Cool, A New Place ....
    • Allright I'll remember

Time based Questions

  • what time is it?
  • what time is it now?
  • what time is it in Sydney?
  • what time is it in Sydney,NS?

Knowledge based Questions

  • For now, this scrapes wikipedia and gets you the first paragraph. Doesnt always work
  • This will be replaced with a DuckDuckGo api
  • what is a pigeon?
  • Pull information from Wikipedia
  • Who is Mahatma Gandhi?
  • What is a computer?
  • Who is Stephen Colbert?

To do List based Questions

  • Can you please add groceries to my to do list
  • add groceries to my to do list
  • what is on my to do list
  • show me what is on my to do list
  • what is on my task list?
  • is groceries on my to do list?
    • Yes
    • No, do you want me to add it?
  • Remove groceries from my to do list
  • delete groceries from my to do list

Joke based Questions

  • Trika, tell me a joke
  • Trika, tell me something funny
  • Move based Questions
  • Hey did you know I moved?
    • Cool, whats your new address?
  • Do you know where I live?
    • Here is your home address ....

Distance based Questions

  • Uses Google Maps API
  • What is the distance between Rogers center and Oshawa Go?
  • Distance between New york and Toronto
  • Tell me the distance between 100 King St, Toronto to New York Mets Stadium * Do you want the directions as well? YES/NO * YES : Directions given * NO : Allright, no directions then
  • Get me directions from rogers center, toronto to miami beach

News based Questions

  • What is happening in the news?
  • What is the news?
  • What is happening?

=============================================================

Work in Progress

Directions based Questions

  • What is the phone number of the nearest mcdonalds?
  • How far is the ROM from home?

Weather based Questions

  • What is the weather like today?
  • What is the weather like in
  • will it be sunny today?
  • will i need an umbrella today?

Knowledge Based Questions

  • Who is the ceo of apple? (Code in different sources)
  • Trika, what can you do?

Other Features to add

  • Login
  • Reminder event
  • Trika, I am bored
    • Pull up a random fact
    • At a later time, pull up the highest trending video from youtube
  • Trika, I am sad
    • I am sorry, what will cheer you up? I can pull up some options around you ( Send query to gmaps and display)

Store a favorites dataframe and if no response for 30 mins

  • Pull up a random store about food favorite and suggest
  • Pull up a good movie and suggest going to it
  • Pull stock value information based on Text
  • Trika, what is the value of ETH?
  • Trika, how much is ETH in CAD?

text-mining-personal-assistant's People

Contributors

suryakari avatar

Watchers

 avatar  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.