语义和语法是否相同? [英] Are semantics and syntax the same?

查看:41
本文介绍了语义和语法是否相同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

语义"和语法"在含义上有什么区别?它们是什么?

What is the difference in meaning between 'semantics' and 'syntax'? What are they?

另外,语义网站与普通网站"、语义社交网络与普通社交网络"等有什么区别?

Also, what's the difference between things like "semantic website vs. normal website", "semantic social networking vs. normal social networking" etc.

推荐答案

语法就是语法.它描述了构建正确句子的方法.例如,这个水是三角形的在语法上是正确的.

Syntax is the grammar. It describes the way to construct a correct sentence. For example, this water is triangular is syntactically correct.

语义与意义有关.这个水是三角形的没有任何意义,虽然语法还可以.

Semantics relates to the meaning. this water is triangular does not mean anything, though the grammar is ok.

谈论语义网 最近很流行.这个想法是用附加数据增强标记(HTML 结构),以便计算机可以更轻松地理解网页.

Talking about the semantic web has become trendy recently. The idea is to enhance the markup (structural with HTML) with additional data so computer could make sense of the web pages more easily.

这篇关于语义和语法是否相同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆