So, as many of you know, i am attempting the impossible.
I am making a learning chatbot on a ti 84+ in ti basic.
So yeah, i will post the source code here asap.
So feel free to help me optimize.
Her name is “Suzan”. I have more work to do, but i feel the main loop could use some optimization.
Thanks in advance,
Wave
Here is the link (i cant get it in program mode, so sorry)
http://sc.cemetech.net/?hash=Poj5EIuJOg/Crez941HwaHlnAz17
(I am unfamiliar with how to do this, sorry that I am such a noob)
Suzan has gone from on she shelf to development hell.
Someone borrowed my calculator, and somehow managed to delete suzan “accidentally”.
She was in a group file! How do you even do that!
In retrospect, it WAS my math teacher, so she may have founf out i program somehow....
...but then again, she only deleted Suzan, so that is sketch.
Well, either i start over, or give up.
Any input?
Wavejumper3 wrote:
Suzan has gone from on she shelf to development hell.
Someone borrowed my calculator, and somehow managed to delete suzan “accidentally”.
She was in a group file! How do you even do that!
In retrospect, it WAS my math teacher, so she may have founf out i program somehow....
...but then again, she only deleted Suzan, so that is sketch.
Well, either i start over, or give up.
Any input?

Your math sounds kinda weird. Kind of weird that your teacher just deleted Suzan. Wacko
I think that this isn't a program that you should give up on. Keep working on it! Very Happy
No worries! I have a recent backup of the file! You should be okay!
I am working on Suzan again!
Don't expect too much, I really set the bar quite high...
But she is (technically) working! Its just that she is super slow at the moment.
To make her faster, I would have to redo most of the code, which would suck, but I will try to over the summer.
Also: Among us is still a go! I am trying to juggle these two projects and my schoolwork.
Hope to be able to report something before summer!
How could I imagine how Suzan learns and how you can "use" her?

(I couldn`t look at the code at the link above, because the link seems to not work)
ok....
as womp put it, answers are hardcoded with a layer of obsfucation.
(so all qa pairs are stored as variables instead of directly written)
she learns when you correct her by storing the q/a pair with "fuzzy" matching.
what mean by that is she can generalize a statement, so you can say "say (anything)" and she will respond with the (anything).
i am working on automating that.
after this, i will make it so she can remember parts of a phrase, and store things that will help with contextualizing what is being said.
i will post a new link soon, i edited the cod a bunch.
Here is a link to the code as it stands:
http://sc.cemetech.net/?hash=9WeDsh53DsVmGuVrvNAuyWJHmcRY
(I just optimized it a lot, it is now less than 4000 bytes!)
Error: Unable to fetch project or project list from server.
Error loading project from database
I found that that happened a lot when I tried to make my own sourcecoder 3 projects public; the link broke after a couple of days or when I reloaded, or when I edited the code. I suggest you upload your code to a GitHub repository.
try this:
https://github.com/wavejumper3/Suzan-84
Could someone look at my code and optimize it a little?
You have until next September to do so (that's when I will be on), so have at it!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement