理解lexeme, syntax, semantic in Compiler

  • Lexeme

    A lexeme is a unit of lexical meaning that underlies a set of words that are related through inflection.

    It is a basic abstract unit of meaning, a unit of morphological analysis in linguistics that roughly corresponds to a set of forms taken by a single root word.

    For example, in english, run, runs, ran and running are forms of the same lexeme, which can be represented as RUN.

  • Lexical

    Lexical semantics is a subfield of linguistic semantics.

    From Merriam-Webster, the word lexicon can be used as a synonym of dictionary, and the word lexicography refers to the practice of dictionary making.

    Both of these words, as well as lexical, derive from the Greek word lexis, meaning “word” or “speech”.

    Definition of lexical:

    1. of or relating to words or the vocabulary of a language as distinguished from its grammer and construction;
    2. of or relating to a lexicon or to lexicography;
  • Syntax

    Syntax is the set of rules, principles, and processes that govern the structure of sentences in a given language, usually including word order.

  • Semantic

    Semantics is the study of meaning, reference, or truth.

    The term can be used to refer to subfields of several distinct disciplines, including philosophy, linguistics, and computer science.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值