<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>

CC BY-SA 4.0
2017-11-11T01:26:37.087Z
2022-05-29T07:25:05.377Z
2022-05-29T07:25:05.377Z
mindcrime
<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>

CC BY-SA 3.0
2017-11-10T22:15:26.943Z
old text adventures? How "natural" does the natural language processing need to be to count as an example for you, and how flexible?
Neil Slater
CC BY-SA 3.0
2017-11-14T01:03:57.970Z
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.
user289661
<natural-language-processing><reference-request>
Are there examples of AI systems that use grammatical rules in order to recognize commands in natural language?
user289661
# 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)


---

