0
Guest Posted 21 years ago
Grammar

Rules of Parts of Speech for Computer Project

0 This is probably a really dumb question, but I figure I will ask anyways. I am trying to write a computer program that parses a sentance and determines wether or not that sentance is grammatically accurate. What I need and for some reason, cant seem to find is some site or book or anything that can give me some rules for the english parts of speech. In specific, I need to know what parts of speech are allowed to follow other parts of speech and maybe what kind of exceptions i need to look out for. Ive found litterally thousands of sites giving me a description of what the parts of speech are, but no real information on valid word order or any kind of rules to that affect. I suppose what I should ask is, do rules for what I am looking for even exist? Or can any part of speech follow another? There has got to be some list of rules somewhere that govern why "John jumped the fence" is valid gramatically and why " Jumped fence john the" isnt. I never really had formal training in grammar, what I learned I learned just from listening to other people talk. And those grammar sites just dont make much sence. Does what I am asking make any sence at all? Or am I off my rocker? 02br
02br
00Thanks, 02br
00Terra 0-
  

Top answer

0 Much much too big a project for someone who has had no formal training in grammar, Terra. This has already been done by others more knowlegeable in language. html

  • 0 Much much too big a project for someone who has had no formal training in grammar, Terra.
  • This has already been done by others more knowlegeable in language.
  • html
Free · every Monday

Get the Weekly English Kit 📬

New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.

7 Answers
0
0 Much much too big a project for someone who has had no formal training in grammar, Terra. This has already been done by others more knowlegeable in language. 02br
02br
00Try, "Parse a Sentence" at 02br
02br
05000 0230hrefhttp://www.link.cs.cmu.edu/link/submit-sentence-4.html
0
0 If you don't mind my asking, Terra, which (programming) language do you intend to use? 02br
02br
00MrP 0-
0
0 I havent really decided yet actually. I know it would require a bit of crunch power, so I would probably end up doing it in C++. But I know several different programming languages. 0-
0
0 Well, the very best of luck with it. You may be able to pick up a wordlist already tagged for parts of speech somewhere. 02br
02br
00MrP 0-
0
0 I'm sorry to say it, but you seem to be in over your head on this! Knowing parts of speech isn't going to help because the same word can be many different parts of speech depending on context. If I had a Ph.D. in linguistics and and Ph.D. in computer science, I would still approach this project with trepidation. It's just too complex a problem to tackle without being an expert in many relat
0
0 Maybe you should investigate in which point the order of the words in a sentence turns to an invalid sentence. I wonder why you are able to understand Yoda, for example, are his sentences in the right order? Maybe not in the perfect order, but even so, you can understand what he says. 0-
0
0 Hello terra, 02br
00I've just heard a presentation today, thank goodness, which concerns your quetion in a way, that is, programing language for representing syntax & semantics used in computational treatment of natural language. 02br
00All I can do is to refer you the following literature (which I haven't read) : 02br
02br
00Copestake, Ann, Flicki

Related Questions