Skip to content
Permalink
master

Commits on Nov 3, 2017

  1. sorted out the comma bug

    dahilj committed Nov 3, 2017
  2. sorted out the comma bug

    dahilj committed Nov 3, 2017
  3. placed the sentenceParse below the taking the comma thing so we're le…

    …ft with just the words
    dahilj committed Nov 3, 2017
  4. placed taking unwanted characters into determinUserInput so the sente…

    …nce is left with no , . ? !
    dahilj committed Nov 3, 2017
  5. added a part in determineUserInput to determine whether the user is a…

    …nswering the multiple choice question
    dahilj committed Nov 3, 2017
  6. corrected the spellings and somewhat fixed the connection between Ser…

    …ver and determineUserInput
    dahilj committed Nov 3, 2017

Commits on Nov 2, 2017

  1. added 2 new functions - executeWhat and executeHow

    determineUserInput determines whether the user asked a question or not.
    somewhat finished "what" and "how" general chat questions.
    Now working on "are" and "do" questions
    dahilj committed Nov 2, 2017

Commits on Nov 1, 2017

  1. Changed the greetings list

    dahilj committed Nov 1, 2017
  2. Changed the testing area

    dahilj committed Nov 1, 2017
  3. Changed the SPELLINGS

    dahilj committed Nov 1, 2017
  4. now working ... probably

    changed openCats to getCategories and other stuff
    dahilj committed Nov 1, 2017
  5. Update Get_Functions.py

    dahilj committed Nov 1, 2017
  6. removed the part where the program asks if the user's first word is a…

    … greeting - [Subject to changes]
    dahilj committed Nov 1, 2017
  7. Now, All bugs are now fixed

    Fixed bugs on "worded" equations
    eg. 5 divided by 5 OR 3 to the power of 5
    dahilj committed Nov 1, 2017
  8. All bugs fixed

    It is now able to answer a question with equations involving words INSTEAD of symbols.
    eg. "What is 1 plus 1"
    
    hooray bois
    dahilj committed Nov 1, 2017

Commits on Oct 31, 2017

  1. This code deals with "what is ... " question

    What's in it:
    2 functions:
    - determineUserInput( ) - This will be built bigger as it holds which questions are said
    - reformatSentence( ) - This formats the user's inputted sentence to just an equation. 
       - The format happens in 2 ways:
           - the equation has symbols eg. 1 + 1 * 2
           - the equation has words eg. 1 plus 1 times 2
    
    the "what" part
    
    Here's how the code works:
    on the bottom, under testing zone, the code asks for the user's input.
    then, the user's input is passed to the determineUserInput() function
            (i only worked on the "what" side so ... that's what im gonna focus on)
    - the program executes the "what" side (you can see it from the code above)
    - it checks if the "sentence" has numbers - asking questions like "What is 1 + 1"
    - it checks if the user used symbols or words
    - the "sentence" and what was user (symbols or words) are passed to the reformatSentence() function
    - the function checks which one was used
    - the function returns the "equation"
    - the function, determineUserInput(), returns answer = the answer as float
    - print(answer)
    
    HOWEVER, something is not right and I've been staring at my computer to find the mistake .... help me ;-;
    dahilj committed Oct 31, 2017
  2. made getName( ) and getQuestion( )

    The code from before is now compressed into 2 functions.
    So, getName( ) gets the name of the user and ALSO, asks if their first word is a greeting.
    eg.
    userName = getName(<user's input>)
    
    getQuestion might need to be looked over. Just call it to get the questions I guess ... It also tells the user if they got the question right and shows the answer. :]
    dahilj committed Oct 31, 2017
  3. made getName( ) and getQuestion( )

    The code from before is now compressed into 2 functions.
    So, getName( ) gets the name of the user and ALSO, asks if their first word is a greeting.
    eg.
    userName = getName(<user's input>)
    
    getQuestion might need to be looked over. Just call it to get the questions I guess ... It also tells the user if they got the question right and shows the answer. :]
    dahilj committed Oct 31, 2017

Commits on Oct 30, 2017

  1. Rename greetRecog v1.3 to greetRecog.py

    just changed the name of the title so it has .py so the file can be run on discord
    dahilj committed Oct 30, 2017
  2. delete this thing

    dahilj committed Oct 30, 2017
  3. delete this thing

    dahilj committed Oct 30, 2017

Commits on Oct 27, 2017

  1. greetRcog + QnA

    added the QnA
     and loads more
    dahilj committed Oct 27, 2017

Commits on Oct 26, 2017

  1. version 1.1 of the first upload ... lol

    changes:
    userName -> userName.title()
    userInput -> userInput.title() to subjects choosen
    set answer to choosing a subject into lowercase using .lower
    added more fun facts stuff
    
    Next gonna work on determining what the user will ask, like "How are you" or "Who are you" ... yeah
    dahilj committed Oct 26, 2017
Older
You can’t perform that action at this time.