Semantics ~~~~~~~~ What is #Syntax? ~~~~~~~~~~ Syntax is a #Sub-discipline of linguistics that studies the structure of a sentence. It studies the set of rules, principles, and processes that rule the structure of sentences in any language. Here, the term structure of sentence refers to the word order. The meaning of a sentence can depend on the word order. For example, look at the two examples below. Example 1 Because banana he is ate a hungry Example 2 He ate a banana because he is hungry The first example doesnt make any sense, but if you look carefully, it contains the same words as the second example. The only difference exists in the word order. Therefore, the word order is a key element in the syntax. However, this does not mean that syntax is about meaning. A sentence can be syntactically correct, yet have no meaning. >>>>>>>>> Famous Sentence Of Noam Chomsky ^^^^^^^^^^^^^^^^^^^ #Colorless, green ideas sleep furiously Though the above sentence does not make any sense, it is syntactically correct. In this sentence, you can notice that adjectives , adverbs are placed in the correct order and, subject and verb are in accordance with each other. In terms of syntactical categories, most sentences in any language can be divided as subject and predicate . Syntax usually studies sentences that have a clear inner division into subject and predicate. There are three types of sentences with this structure; simple sentence, compound sentence, and complex sentence. ~~~~~~~~~ #Syntax is what the grammar allows, semantics is what it means. int x = "five"; // syntax is okay (type identifier = value), semantics is wrong ("five" is not an int). No idea what the following is supposed to mean. It couldn't be more wrong. ~~~~~~~~~~ What is #Semantics? ~~~~~~~~ Semantics is a branch of linguistics that focuses on the study of meaning. It studies the meaning of words and language. Semantics study ways in which the meanings of words can be related to each other (synonyms, homophony, etc.), ways in which the meanings of sentences can be related to each other, and ambiguity. Ambiguity is one way of studying the meaning of language. A sentence is said to be ambiguous when it has more than one meaning. For example, I saw the girl with binoculars This sentence has two meanings. One meaning is that I saw a girl while I was looking through the binoculars. The other is that I saw a girl who was using binoculars
Surrounded by Idiots: The Four Types of Human Behavior and How to Effectively Communicate with Each in Business (and in Life) (The Surrounded by Idiots Series) by Thomas Erikson: Key Takeaways, Summary & Analysis