dingus Posted September 21, 2008 Share Posted September 21, 2008 ok i need help breaking down a input sentence from a search input from a user where i need to drop it down to 3 variables subject verb and object (basic english language) i have looked at this http://www.visitware.com/AI4U/svo.html but my javascript knowledge is minimal if anyone can help me generate a function to do that i would be very appriceative Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/ Share on other sites More sharing options...
dingus Posted September 21, 2008 Author Share Posted September 21, 2008 come on i really need this Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647045 Share on other sites More sharing options...
.josh Posted September 21, 2008 Share Posted September 21, 2008 I would start with learning proper English. Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647062 Share on other sites More sharing options...
Daniel0 Posted September 21, 2008 Share Posted September 21, 2008 Dude, when really smart people holding PhD's in computer science and/or linguistics struggle with natural language processing, do you then think you can compete with them with your "minimal JavaScript knowledge"? Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647085 Share on other sites More sharing options...
dingus Posted September 22, 2008 Author Share Posted September 22, 2008 wow you guys are helpful thanks heaps........ you know you could have just said "i dont know" or just not replyed at all firstly i dont want to compete with natural language processing i want to take a educated guess..... i was expecting an accrucay of about 25-35% if that which is hardly a break through i have seenn it done before which a much greater sucess so i thought that maybe just maybe some one here at a stretch might be able to at least point me to a page or a book or somthing that might contain the information i need Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647413 Share on other sites More sharing options...
.josh Posted September 22, 2008 Share Posted September 22, 2008 I thought I was being helpful...seems to me if you want to write programs and algorithms having to do with a language, first place to start would be to master that language. At least, that's where I'd start if I were you, because I read your post and it's full of misspellings and grammatical errors and stuff. And before you start pointing the finger back at me...I'm not the one trying to undertake that project. How can you hope to have any measure of success in this venture if you don't even understand the data you're working with? If you were wanting to solve some problem that involved using calculus, but barely knew algebra, would you be offended if I told you to start by learning math? If you want to be offended because I pointed that out, then that's your deal. Good luck in your endeavor. Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647419 Share on other sites More sharing options...
dingus Posted September 22, 2008 Author Share Posted September 22, 2008 Crayoni do understand you point and being offendedi would like to appoligise for takeing it offencivly i am infact dyslexic and am offended when people comment on it as it has somthing i have dealt with as a darogatory all my life how ever i do have some understanding on language processing and i am not working alone i am simply the programmer for this endever and as i said our attempt is simply to improve the accuracy of a search by identifiying relevent words as apposed to irelivent ones as another option possably there is some sort of external software i could hook with (under linux) Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647463 Share on other sites More sharing options...
genericnumber1 Posted September 22, 2008 Share Posted September 22, 2008 It's an incredibly difficult and complicated attempt at a process that really won't work well, if it even works at all. The best hope you could have would be to have a dictionary with the word's parts of speech.. not that it would be incredibly helpful without knowledge of grammars as they apply to programming as well. In short: I'd really not suggest trying it, but if you want to play around a bit google "natural-language programming grammars" or "natural-language logical grammars"... did I mention you probably shouldn't waste your time without a Ph.D in computer science, years of experience and flawless knowledge of the english language? Brilliant people struggle with this stuff. Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647474 Share on other sites More sharing options...
aximbigfan Posted September 22, 2008 Share Posted September 22, 2008 Not too many ways you are going to be able to find out a subject. If yoiu only want a 25% accuracy, this is pointless. Chris Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647477 Share on other sites More sharing options...
dingus Posted September 22, 2008 Author Share Posted September 22, 2008 well a thanks to genericnumber1 as that actualy yelded some benifical results i believe i should be able to gut the "Make_Keywords" out of the megahal language simulator if anyone is interested let me know and i can post my results assumeing it works out Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647505 Share on other sites More sharing options...
.josh Posted September 22, 2008 Share Posted September 22, 2008 Crayoni do understand you point and being offendedi would like to appoligise for takeing it offencivly i am infact dyslexic and am offended when people comment on it as it has somthing i have dealt with as a darogatory all my life how ever i do have some understanding on language processing and i am not working alone i am simply the programmer for this endever and as i said our attempt is simply to improve the accuracy of a search by identifiying relevent words as apposed to irelivent ones as another option possably there is some sort of external software i could hook with (under linux) Hmmm..... Is it just me or has your level of writing suddenly gotten markedly worse? I'm halfway tempted to think you did that on purpose in an attempt to lend credibility to this "dyslexia" thing. Everybody on the internet has dyslexia. It's a requirement for being online. Also, your parents have to be dead. And you have to know Chuck Norris. My sincere apologies to the 0.0001% of people who actually do have issues, but I hope you do understand why I take statements like this as a grain of salt. Anyways, google the things others have mentioned. But you aren't going to find much, because even the top people in those fields struggle with it. Natural side effect of only a handful of people working on something and struggling at it to boot, is that you're not going to find much info about it, let alone programs that will actually do anything for you. Which leads us back to the whole learning to program and master language thing, so that you can be a pioneer in the field. Quote Link to comment https://forums.phpfreaks.com/topic/125167-subject-verb-object-identification/#findComment-647642 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.