Answers.Body: <p>Yes.  You're basically looking for &quot;rule based&quot; NLP.  For reference, see:</p>
  <ul>
  <li><p><a href="https://en.wikipedia.org/wiki/Rule-based_system" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Rule-based_system</a></p>
  </li>
  <li><p><a href="https://www.quora.com/Why-are-rule-based-methods-becoming-unpopular-in-NLP-Are-rule-based-methods-still-in-use-If-yes-where-should-I-look-for-them" rel="nofollow noreferrer">https://www.quora.com/Why-are-rule-based-methods-becoming-unpopular-in-NLP-Are-rule-based-methods-still-in-use-If-yes-where-should-I-look-for-them</a></p>
  </li>
  <li><p><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3756254/" rel="nofollow noreferrer">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3756254/</a></p>
  </li>
  <li><p><a href="https://nlp.stanford.edu/software/regexner.html" rel="nofollow noreferrer">https://nlp.stanford.edu/software/regexner.html</a></p>
  </li>
  <li><p><a href="http://u.cs.biu.ac.il/%7Eyogo/courses/sem2014/intro.pdf" rel="nofollow noreferrer">http://u.cs.biu.ac.il/~yogo/courses/sem2014/intro.pdf</a></p>
  </li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2017-11-11T01:26:37.087Z
Answers.LastActivityDate: 2022-05-29T07:25:05.377Z
Answers.LastEditDate: 2022-05-29T07:25:05.377Z
Answers.UserDisplayName: mindcrime
Body: <p>Are there examples of AI systems that use grammatical rules in order to recognize commands in natural language?</p>
  <p>For example, is there a program, when given the instruction (either by speech or by text) in the form of &quot;Open file-1&quot;, will attempt to understand the command as consisting the parts &quot;open&quot; and &quot;file-1&quot;, then respond according to how each part is classified?</p>
  <p>The focus here is the fact that these kind of instructions are processed with built-in rules of grammar, rather than the rules being learned through observation of data.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-10T22:15:26.943Z
Comments.Text: old text adventures? How "natural" does the natural language processing need to be to count as an example for you, and how flexible?
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-14T01:03:57.970Z
Comments.Text: More general than text-adventure; in terms of flexibility, if there is limitation to the variety of sentence forms that the AI can process due to the fact that it has built-in rules, I'd like to know more.
Comments.UserDisplayName: user289661
Tags: <natural-language-processing><reference-request>
Title: Are there examples of AI systems that use grammatical rules in order to recognize commands in natural language?
UserDisplayName: user289661
ThreadText: # Are there examples of AI systems that use grammatical rules in order to recognize commands in natural language?
  
  (Asked by: username_0 on 2017-11-10)
  
  Are there examples of AI systems that use grammatical rules in order to recognize commands in natural language?
  
  For example, is there a program, when given the instruction (either by speech or by text) in the form of "Open file-1", will attempt to understand the command as consisting the parts "open" and "file-1", then respond according to how each part is classified?
  
  The focus here is the fact that these kind of instructions are processed with built-in rules of grammar, rather than the rules being learned through observation of data.
  
  **Tags:** natural-language-processing, reference-request
  
  > **Comments:**
  > **username_1**: old text adventures? How "natural" does the natural language processing need to be to count as an example for you, and how flexible?  
  > **username_0**: More general than text-adventure; in terms of flexibility, if there is limitation to the variety of sentence forms that the AI can process due to the fact that it has built-in rules, I'd like to know more.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-11-11. Score: 1
  
  Yes. You're basically looking for "rule based" NLP. For reference, see:
  
  * <https://en.wikipedia.org/wiki/Rule-based_system>
  * <https://www.quora.com/Why-are-rule-based-methods-becoming-unpopular-in-NLP-Are-rule-based-methods-still-in-use-If-yes-where-should-I-look-for-them>
  * <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3756254/>
  * <https://nlp.stanford.edu/software/regexner.html>
  * [http://u.cs.biu.ac.il/~yogo/courses/sem2014/intro.pdf](http://u.cs.biu.ac.il/%7Eyogo/courses/sem2014/intro.pdf)
  
  
  ---
  
  