Semantics

semantics

Once a parse tree has been built using syntaic analysis, the semantics, or meaning, of the sentence needs to be found. This is a very difficult task as it requires world knowledge.

The need for semantic information is illustrated by trying to follow a recipe. Knowing that the recipe is correctly written does not help understand how to it carry out. Knowledge of the relationships between food and it's preparation is needed; the semantics contained with the recipe.

Another way of putting the difference between syntax and semantics into context is with the following two sentences:

  1. "Colourless green ideas sleep furiously"
  2. "Green sleep colourless furiously green"

The first sentence is syntactically correct in modern English, but after semantic analysis can be seen to be meaningless, whereas the second sentence, although made from the same words, can be dismissed as nonsense by simply regarding it's syntax.

There are no steadfast ways of representing world knowledge or extracting the semantics from a sentence except for very simple domains, although First Order Predicate Calculus seems to be dominating as a representation method

Remember you can visit the Message Store to discuss this essay. Comments are always welcome!. There are already replies in the thread, why not join in?