詞彙類別(lexical categories)用於將詞語分組。分組可以非常廣泛,例如動詞;也可以非常具體,例如帶有女性後綴的代名詞。這些類別用於移轉規則(transfer rules)的模式匹配系統。

上述圖片是一個不定名詞(indefinite nominals)詞彙類別的範例。句號表示新標籤開始的位置。星號是萬用字元指示符,表示該位置可以填入任何內容。項目末尾的星號匹配一個或多個結尾標籤。例如,如果我有一個詞彙單位 book1.1 n f sg,它可以被包含 n.f.sg 的標籤元素精確匹配。更一般地,我們可以使用包含 n.f.* 的標籤元素來匹配 book。這將指代所有具有語法類別 n,後接標籤 f,再後接任何其他內容的詞,即女性名詞。上述類別定義了所有不定名詞的集合——即具有語法類別 n 或 n-irreg,後接 ind,且後面可選地跟隨其他內容的詞。請注意,n.ind 和 n.ind.* 都是必要的,因為 n.ind.* 要求 ind 後面必須有某些後綴,因此無法匹配像 car1.1 n ind 這樣沒有額外後綴的不定名詞。
您可以使用詞根(lemma)元素來識別特定的詞義(word-sense)。下圖展示了如何將類別 dem_this 定義為具有語法類別 dem 且詞根為 this1.1(在 FLEx 中:headword this1,sense 1)的詞。當您想要匹配包含「this」這個詞的短語時,這可能很有用。
Lexical categories are used to group words together. The grouping can be very broad such as verbs or very specific such as pronouns with feminine suffixes. The categories are used in the pattern matching system of transfer rules.

The above image is an example of a lexical category for indefinite nominals. The period indicates where a new tag begins. The asterisk is a wildcard indicator. It means that anything can fill that position. An asterisk at the end of the item matches one or more final tags. For example, if I have the lexical unit book1.1 n f sg, it could be precisely matched by a tags element containing n.f.sg. More generally we could match book with the tags element containing n.f.*. This would refer to all words that have the grammatical category n followed by the tag f followed by anything else, i.e. feminine nouns. The category above defines the set of all indefinite nouns — words that have the grammatical category n or n-irreg followed by ind and optionally something else afterward. Note that n.ind and n.ind.* are both necessary because n.ind.* would require some affix after ind and not match an indefinite noun like car1.1 n ind that has no additional suffixes.
You can use the lemma element to identify a specific word-sense. The image below shows how the category dem_this can be defined as a word that has a grammatical category of dem and lemma this1.1 (in FLEx: headword this1 , sense 1). This might be useful when you want to match phrases containing the word ‘this’.
機器翻譯自 English