master
Commits on Nov 22, 2017
-
fixed the one word greeting ex 'hi'
dahilj committedNov 22, 2017 -
fixed the 'are you male/are you a male' questions ...
dahilj committedNov 22, 2017 -
Fixed some bugs on executeDo() and executeAre(). decapitalised some l…
…etters as well.
dahilj committedNov 22, 2017
Commits on Nov 3, 2017
-
dahilj committed
Nov 3, 2017 -
dahilj committed
Nov 3, 2017 -
placed the sentenceParse below the taking the comma thing so we're le…
…ft with just the words
dahilj committedNov 3, 2017 -
placed taking unwanted characters into determinUserInput so the sente…
…nce is left with no , . ? !
dahilj committedNov 3, 2017 -
added a part in determineUserInput to determine whether the user is a…
…nswering the multiple choice question
dahilj committedNov 3, 2017 -
corrected the spellings and somewhat fixed the connection between Ser…
…ver and determineUserInput
dahilj committedNov 3, 2017
Commits on Nov 2, 2017
-
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 committedNov 2, 2017 -
Now the codes works with OR without space BOTH on symbols and words
dahilj committedNov 2, 2017 -
the code now works with dealing with question that has no spaces
dahilj committedNov 2, 2017
Commits on Nov 1, 2017
-
renamed from what_Recog to determineUserInput.py
dahilj committedNov 1, 2017 -
added a 'number' option to see if the user is answering the correct q…
…uestion
dahilj committedNov 1, 2017 -
added a variable 'response' before the return on if 'what' in sentence
dahilj committedNov 1, 2017 -
dahilj committed
Nov 1, 2017 -
dahilj committed
Nov 1, 2017 -
dahilj committed
Nov 1, 2017 -
Changed get_Functions to Get_Functions
dahilj committedNov 1, 2017 -
Changed determineUserInput added executeWhat funcion
dahilj committedNov 1, 2017 -
changed openCats to getCategories and other stuff
dahilj committedNov 1, 2017 -
dahilj committed
Nov 1, 2017 -
removed the part where the program asks if the user's first word is a…
… greeting - [Subject to changes]
dahilj committedNov 1, 2017 -
Fixed bugs on "worded" equations eg. 5 divided by 5 OR 3 to the power of 5
dahilj committedNov 1, 2017 -
It is now able to answer a question with equations involving words INSTEAD of symbols. eg. "What is 1 plus 1" hooray bois
dahilj committedNov 1, 2017
Commits on Oct 31, 2017
-
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 committedOct 31, 2017 -
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 committedOct 31, 2017 -
renamed the title so we know where the functions are ... meh
dahilj committedOct 31, 2017 -
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 committedOct 31, 2017
Commits on Oct 30, 2017
-
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 committedOct 30, 2017 -
dahilj committed
Oct 30, 2017 -
dahilj committed
Oct 30, 2017
Commits on Oct 27, 2017
Commits on Oct 26, 2017
-
Rename respondToIntro_1 to greetRecog1
dahilj committedOct 26, 2017 -
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 committedOct 26, 2017