Quiz 2 (CS1573) - NLP
- List 4
categories of knowledge about language that are required for human-like
language understanding.
Phonetics and Phonology
Morphology
Syntax
Semantics
Pragmatics
Discourse
- What
has Eliza contributed research-wise to natural language processing?
See Jurafsky and Martin Chapter 1, page 7-9. “…Eliza was an early
natural language processing system capable of carrying o a limited form of
conversation with a user….”
- Write
a regular expression to match sentences where the first word of the
sentence is a pronoun (I, you, he, she, it, we, they) and the next word is
the correct present-tense form of "to be" (e.g., am, are ...).
Thus your regular expression should match sentences like "She is happy."
but should not match sentences like "She are happy."
/IVamV
| ([yY]ou|[wW]e|[tT]hey) VareV
| ([hH]e|[sS]he)VisV
/[a-z]*/./