Sentence-level analysis
Sentences can be analyzed in terms of their syntax (the structural relationships among parts of the sentence) or their semantics (the relationships among the meanings of the parts of the sentence). We’ll look at both of these types of analysis next. Recognizing syntactic relationships is useful on its own for applications such as grammar checking (does the subject of the sentence agree with the verb? Is the correct form of the verb being used?), while recognizing semantic relationships on their own is useful for applications such as finding the components of a request in chatbots. Recognizing both syntactic and semantic relationships together is an alternative to statistical methods in almost any NLP application.
Syntactic analysis
The syntax of sentences and phrases can be analyzed in a process called parsing. Parsing is a type of analysis that attempts to match a set of rules, called grammar, to an input text. There are many approaches to parsing...