Popcorn Sutton Posted March 8, 2013 Posted March 8, 2013 I have a program that acquires language and responds well. It may have flaws but I can work those out when I have data. Anyway, I need help getting this program up on the internet. The sooner, the better. It's written in Python 2.7 and there are various things that I do not know and would like to get help on. If anyone is willing to help with the project, I'd really appreciate it. It needs a user interface (doesn't have to be super special although it would be cool if someone wanted to take the time to make it look good). It also needs to be accessible through a website. I'm kind of new to Python (I've only been working with it for a little over a year) so I have several issues. I need to save all information and import it whenever the program gets loaded (I don't know how to do this). I need a user interface. I need a place to store all the data. I need the program to work in the browser. I'm going to start working on these problems and hopefully I can have something put together by next week because I really think this program will benefit us all. Please, someone else work with me on this, I'll provide the code for the process, I just need it to get integrated.
Tamorph Posted March 9, 2013 Posted March 9, 2013 If your software is going to be opensource, and even if it isn't, most software developers use the free GIT collaboration software. Easiest way to get started is to register on github.com Using GIT means the software is backed up every time you, or anyone else, changes it. If the changes work you move on. If the changes don't work you simply go back to the last snapshot when it did work and try again. It allows you to collaborate with others, and allows you to allow others to change your software without any problems. All the collaborators you give permission to are allowed to change the code, but every time there is a change a snapshot is taken of how the software started, what was changed, and how it ended up. You have the master copy and you can revert to any snapshot at any time. You get the input of other software experts, but you also have the guarantee that they can't screw things up! 1
Popcorn Sutton Posted March 9, 2013 Author Posted March 9, 2013 I plan on hiring someone to do this job for me. Please give me all the vocabulary I need to know in order to make sure that this program gets up and running as good as possible. I'm cogently getting proposals about the job and I an highly misinformed in this area. I lack knowledge
Tamorph Posted March 9, 2013 Posted March 9, 2013 There is a free book on GIT downloadable from http://git-scm.com/book I would recommend you download it then register (free) on github.com other users on that site will be able to provide you with free help.
DevilSolution Posted March 19, 2013 Posted March 19, 2013 (edited) If its browser based it will need to be written in Js or some other language your specific browser can parse. The problem with saving your program is called data persistence : http://en.wikipedia.org/wiki/Persistent_data_structure , quite a few ways exist but databases usually comes up trumps. As already stated version control is the preferred method for a team of developers to collaborate on the same project, GIT is not the only one that exists and is actually pretty new, but its already become quite standard and well founded. The GUI depends on what you need from it, knowledge of graphic classes is all that is needed really, though knowledge of OOP concepts will help. If you dont require any 3-d motion or physics it can actually be achieved with very basic knowledge of css or such. Edited March 19, 2013 by DevilSolution
Popcorn Sutton Posted March 19, 2013 Author Posted March 19, 2013 I'm not following. If I have a team of developers, then we need an administrative password because if it is actually a solution, then it could be too valuable to let anyone have
DevilSolution Posted March 19, 2013 Posted March 19, 2013 Access is authenticated with encryption, so unless you work for the NSA or have access to a super computer....its safe.
Popcorn Sutton Posted March 19, 2013 Author Posted March 19, 2013 I might need A LOT of storage. I hope to eventually get this thing up with sound too. Put it on phones and make it listen. I've already got it working with sound too but it takes time for it to become efficient. I might be able to handle the storage and get a few external hard drives.
DevilSolution Posted March 19, 2013 Posted March 19, 2013 What do you mean by sound? voice recognition? or voice output? or both? Yeh storage is cheap these days, are you going to store all the data it gets from the website? and if so might i suggest you find a way of backing up its state as required, beta testing could potentially break it.
Popcorn Sutton Posted March 19, 2013 Author Posted March 19, 2013 It's just sound recognition, whether it's a voice or not doesn't matter. I'll have to look into backing it up. I don't know what to say about that post klaynos. I don't agree with most of the methodologies of modern linguistics. I went through a lot of trouble redefining the field to a certain extent. I came up with a theory I called maximalism. It has over 300,000 hits on google. Searching "maximalism linguistics"
Klaynos Posted March 19, 2013 Posted March 19, 2013 I'll have a look when I get home. A smaller part of my question could have been how does it learn sentence structure as you say it could work with any language and that's probably the simplest single change.between lots of related languages.
Popcorn Sutton Posted March 19, 2013 Author Posted March 19, 2013 Pattern Recognition If by sentence structure, you mean determining reference and proper interpretation of input, then pattern recognition.
Klaynos Posted March 20, 2013 Posted March 20, 2013 Don't get your hopes up. I suspect you don't really have pattern recognition just something that looks like it at a glance. I would be interested to see an actual conversation with it though.
Popcorn Sutton Posted March 31, 2013 Author Posted March 31, 2013 http://labs.codecademy.com/q13/2#:workspace Now I need to find a way to save the info Hopefully you guys can play around with it for a while. If you spend more time talking to it, it gets a lot smarter. Or I might need to change up a bit of the code. We will see lmk what u think if you read the code, I think that the part that may need to be modified is somewhere buried in the if poi in knowledge loop. I may need to add sumptions (continued forward or reverse prompting) to get a better response.
pwagen Posted March 31, 2013 Posted March 31, 2013 (edited) Hello. File "<stdin>", line 1 Hello. ^ SyntaxError: invalid syntax Unknown error. How are you? File "<stdin>", line 1 How are you? ^ SyntaxError: invalid syntax Unknown error. Who are you? File "<stdin>", line 1 Who are you? ^ SyntaxError: invalid syntax Unknown error. This doesn't work. File "<stdin>", line 1 This doesn't work. ^ SyntaxError: invalid syntax Unknown error. Edit: Oh, never mind! I just found the run button. Edit again: I've tried it a few times. And every time, after 2-4 inputs, it hangs up on me. Edited March 31, 2013 by pwagen
Popcorn Sutton Posted March 31, 2013 Author Posted March 31, 2013 you need to click the run button and type where it says "Type Here:" it's working fine for me
pwagen Posted March 31, 2013 Posted March 31, 2013 Yeah, I got it now. However, see second edit in my last post. It hangs after very few inputs, and gives me an error message saying the program takes too long to respond.
Popcorn Sutton Posted March 31, 2013 Author Posted March 31, 2013 Yea this is my first time running the codeacademy lab, I'm not sure how to get it to keep running. Maybe you guys can help
Popcorn Sutton Posted March 31, 2013 Author Posted March 31, 2013 Here's a link to a thread where I posted my chatbot for you guys to try out. I appreciate feedback http://www.scienceforums.net/topic/73987-try-out-my-chat-bot/
swansont Posted March 31, 2013 Posted March 31, 2013 Here's a link to a thread where I posted my chatbot for you guys to try out. I appreciate feedback http://www.scienceforums.net/topic/73987-try-out-my-chat-bot/ ! Moderator Note Merged. You were asked not to open any new threads on the subject.
Popcorn Sutton Posted March 31, 2013 Author Posted March 31, 2013 here's another version that got reference down pretty good http://labs.codecademy.com/q2l#:workspace maybe this one is better. It seems a lot better. http://labs.codecademy.com/q2l/1#:workspace
Cap'n Refsmmat Posted March 31, 2013 Posted March 31, 2013 All I get is random segments of my messages parroted back. I'm not sure I see it "acquiring language". It certainly can't beat MegaHAL.
Popcorn Sutton Posted March 31, 2013 Author Posted March 31, 2013 (edited) I'm almost positive it would beat MegaHAL if I let it learn from everyone and save the data. It learns pragmatically. The thing that may be deterring about it at first is that it instantly has access to the externalization process. It's not like it has acquired the semantic web of information we know until it has a lengthy knowledge baseSorry if I'm overwhelming you guys with different versions, but I've tried so many different things and this version also seems promising. http://labs.codecademy.com/q2l/2#:workspacethis is the one that I labeled "very promising" http://labs.codecademy.com/q2l/4#:workspace (this one may crash)http://labs.codecademy.com/q2l/5#:workspacehttp://labs.codecademy.com/q2l/7#:workspace http://labs.codecademy.com/q2l/8#:workspace (this one is possibly the best at paying attention) Many different edits to come guys (if I don't get banned, which I promise I will try my hardest not to) http://labs.codecademy.com/q2l/11#:workspace (the previous one had the 'add' variable assigned a priori... probably not good) also note, this website is not the best for running the code, but it at least gets the point across. Real testing should be done in the Python 2.7 IDLE GUI Edited March 31, 2013 by Popcorn Sutton
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now