category

2022/4/13 23:15:14

本文主要是介绍category,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

In traditional grammar, a part of speech or part-of-speech (abbreviated as POS or PoS) is a category of words (or, more generally, of lexical items) that have similar grammatical properties. Words that are assigned to the same part of speech generally display similar syntactic behavior - they play similar roles within the grammatical structure of sentences - and sometimes similar morphology in that they undergo inflection for similar properties.

Commonly listed English parts of speech are noun, verb, adjective, adverb, pronoun, preposition, conjunction, interjection, numeral, article, or determiner. Other Indo-European languages also have essentially all these word classes; one exception to this generalization is that Latin, Sanskrit and most Slavic languages do not have articles. Beyond the Indo-European family, such other European languages as Hungarian and Finnish, both of which belong to the Uralic family, completely lack prepositions or have only very few of them; rather, they have postpositions.

A syntactic category is a type of syntactic unit that theories of syntax assume. Word classes, largely corresponding to traditional parts of speech (e.g. noun, verb, preposition, etc.) are syntactic categories. In phrase structure grammars, the phrasal categories (e.g. noun phrase, verb phrase, prepositional phrase, etc.) are also syntactic categories. Dependency grammars, however, do not acknowledge phrasal categories (at least not in the traditional sense).

A grammatical category or grammatical feature is a property of items within the grammar of a language. Within each category there are two or more possible values (sometimes called grammemes), which are normally mutually exclusive. Frequently encountered grammatical categories include:

  • tense, the placing of a verb in a time frame, which can take values such as present and past
  • number, with values such as singular, plural, and sometimes weird stuff
  • gender, with values such as masculine, feminine and neuter
  • noun classes, which are more general than just gender, and include additional classes like: animated, humane, plants, animals, things, and immaterial for concepts and verbal nouns/actions, sometimes as well shapes
  • locative relations, which some languages would represent using grammatical cases or tenses, or by adding a possibly agglutinated [粘结] lexeme such as a preposition, adjective, or particle.


这篇关于category的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程