| Ferrous Moon http://www.ferrousmoon.com:80/forums/ |
|
| PHP - Impossible Program http://www.ferrousmoon.com:80/forums/viewtopic.php?f=45&t=1139 |
Page 1 of 1 |
| Author: | eddieringle [Mon Oct 22, 2007 5:32 pm ] |
| Post subject: | PHP - Impossible Program |
Okay, so me and someone were talking. The idea for the program is that it retrieved information from credible sources on the internet. Then, it dumps the information inside a database. Then it looks over the gathered content, and makes corrections (typoes, grammar, etc.). *The next part is where the program gets weird* The next thing it will do is make improvements to articles, and even create theories and inventions from what it has learned. Now, of course, that last part would require an extremely advanced AI. But why I am posting this is that I want to see how far someone can get with this program. Oh, and when the program gathers data from sources, it only gathers key words/sentences/paragraphs, so there aren't large amounts of gibberish. So post your ideas, I would like to see the code in php, because as of now that is my best language. EDIT: You may also write in psuedocode |
|
| Author: | frenchfrog [Tue Oct 23, 2007 7:04 pm ] |
| Post subject: | |
Was on slashdot a while ago: SCIgen - An Automatic CS Paper Generator |
|
| Author: | Eleazar [Wed Oct 24, 2007 1:25 am ] |
| Post subject: | |
Wtf... Okay. First off - PHP is a scripting language. So to avoid the flood of IF and CASE statements, try another language. And the amount of intelligence required for this thing has probably only realistically been created by the American DoD. For their wargame simulations, etc. I think you'd have a hard time, no matter what the language you used. Maybe you should just write the papers yourself ~ Eleazar |
|
| Author: | eddieringle [Wed Oct 24, 2007 2:44 pm ] |
| Post subject: | |
Nice site frenchfrog, funny. Eleazar: It is not JUST a scripting language, in fact, it practically IS a programming language, you can use if's and functions and loops and all kinds of things. I'm writing a PHP IRC bot, it currently can do many things. PHP can't do as much as C++ can, but as long as what you are working on doesn't require what C/C++ has and PHP doesn't, your golden. PHP isn't just for websites, you know... |
|
| Author: | prophile [Sat Dec 22, 2007 3:38 pm ] |
| Post subject: | Re: |
Quote: Nice site frenchfrog, funny.
There's no question that it *IS* a scripting language however, and can't be as fast as something natively compiled.Eleazar: It is not JUST a scripting language, in fact, it practically IS a programming language, you can use if's and functions and loops and all kinds of things. I'm writing a PHP IRC bot, it currently can do many things. PHP can't do as much as C++ can, but as long as what you are working on doesn't require what C/C++ has and PHP doesn't, your golden. PHP isn't just for websites, you know... Personally, I'd always write apps in Objective-C given a choice. |
|
| Author: | eddieringle [Sat Dec 22, 2007 3:39 pm ] |
| Post subject: | Re: PHP: Impossible program (for now) |
I guess I worded it wrong, I really meant that PHP isn't as limited as other scripting languages. |
|
| Author: | hanswurscht [Fri Feb 01, 2008 10:42 am ] |
| Post subject: | Re: PHP - Impossible Program |
Even the first step is pretty hard - modeling real language into a way computers can understand, ever wondered why computed translateions are so funny(bad)? It works quite well for one sentence, but with an complete article it's nearly impossible (science is working on that). I'll give you a very simple example of why it is so hard: Peter hits Jim. He cries. At the moment, science is struggling to find a way to let the computer find out who is actually crying, Peter or Jim, you need a very sophisticated database backend to decide this correctly, and this is a very simple example. Even for humans impossible to decide without complete knowledge of context of the whole text. In a different context it could either be Peter or Jim crying. Second step, the ai part is even harder. I won't get into Detail here, if you want a basic introduction into how ais work at the moment I can recommend a read: http://www.amazon.com/Artificial-Intell ... 013&sr=8-1 That's about 1200 pages and as I said, a very basic introduction. Lastly, php isn't the language of choice here, for both steps you would be way better off with a logical programming language (like haskell or prolog) I've been studying both ai and mapping real language for quite some time now at university, if you can pull this project off expect a nobel price. |
|
| Author: | klm [Thu Feb 21, 2008 10:54 pm ] |
| Post subject: | Re: PHP - Impossible Program |
Don't forget the factor of the size of your database. By the way, a suggestion to actually doing this program is breaking it down into simple pieces and doing those, which eventually leads up to the complete picture over time. Note: This is just a suggestion. Nobody has to care about it if they don't want to. |
|
| Author: | eddieringle [Fri Feb 22, 2008 8:07 am ] |
| Post subject: | Re: PHP - Impossible Program |
The size of the database won't be a factor, as plain text doesn't take up that much space. (A page is like, 20KB or something) |
|
| Author: | Dorbian [Fri Feb 22, 2008 4:59 pm ] |
| Post subject: | Re: PHP - Impossible Program |
My question is... why... I can't really find a use for an application that does this... also why don't you program it in ASP, an AI which is run as an application which does constant checks is a lot better developed than a website which is action based, ASP itself can hold many programming languages and if you know some other languages you can hail DLL or OCX files without issues, as ASP, it's only an interpreter of many... Just my 2 cents :F |
|
| Author: | eddieringle [Fri Feb 22, 2008 5:55 pm ] |
| Post subject: | Re: PHP - Impossible Program |
It's really just one of those programs that might be cool to see work, but there isn't any point in making it right now. I just wanted to see if anyone had any ideas. And sorry, if I were to write a program like this, I'd use php (my best language |
|
| Page 1 of 1 | All times are UTC-05:00 |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|