zoukankan      html  css  js  c++  java
  • the difference between grammar and syntax

    Grammar is the study of rules governing the use of language. The set of rules governing a particular language is the grammar of that language; thus, each language can be said to have its own distinct grammar. Grammar is part of the general study of language called linguistics. Grammar is a way of thinking about language.

    The subfields of contemporary grammar are phonetics, phonology, morphology, syntax, semantics, and pragmatics. Traditional grammars include only morphology and syntax.

    In linguistics, Syntax is the study of the rules, or "patterned relations", that govern the way words combine to form phrases and phrases combine to form sentences. The word originates from the Greek words συν (syn), meaning "co-" or "together", and τάξις (táxis), meaning "sequence, order, or arrangement". The combinatory behavior of words is governed to a first approximation by their part of speech (noun, adjective, verb, etc., a categorization that goes back in the Western tradition to the Greek grammarian Dionysios Thrax). Modern research into natural language syntax attempts to systematize descriptive grammar and, for many practitioners, to find general laws that govern the syntax of all languages. It is unconcerned with prescriptive grammar (see Prescription and description).

    Theories of syntax differ in the object of study. While formal grammars (especially in the generative grammar tradition) have focused on the mental process of language production (i-language), empirical grammars have focused on linguistic function, explaining the language in use (corpus linguistics). The latter often encodes frequency data in addition to production rules, and provide mechanisms for learning the grammar (or at least the probabilities) from usage data. One way of considering the space of grammars is to distinguish those that do not encode rule frequency (the majority) and those that do (probabilistic grammars).

    grammar:语法

    morphology:?

    lexical:? 

    syntax:句法

    semantic:语义

  • 相关阅读:
    Java Json 数据下划线与驼峰格式进行相互转换
    php 将数组转换网址URL参数
    Swagger2常用注解及其说明 (转)
    Java中 VO、 PO、DO、DTO、 BO、 QO、DAO、POJO的概念(转)
    bootstrap.css.map 404
    Git发生SSL certificate problem: certificate ha错误的解决方法
    防火墙禁ping:虚拟机ping不通主机,但主机可以ping虚拟机
    PhpStorm本地断点调试
    Java语言中姐种遍历List的方法总结
    Ubuntu18.04安装mysql5.7
  • 原文地址:https://www.cnblogs.com/argb/p/2114675.html
Copyright © 2011-2022 走看看