This sub-module contains common functions and classes used for tagging.


class camel_tools.tagger.default.Tagger

Base class for taggers. A tagger maps each item in a list of tokens (i.e. a sentence) to some other value. Examples of taggers include POS taggers, diacritizers, etc.


Generate a tag for each token in a given sentence.

Parameters:sentence (list of str) – The sentence to be tagged.
Returns:The list of tags corresponding to each token in sentence.
Return type:list