usas_tag

class usas_validator.usas_tag.USASTag(**data)[source]

Bases: BaseModel

Represents all of the properties associated with a USAS tag.

tag: str

The USAS tag.

number_positive_markers: int

The number of positive markers.

number_negative_markers: int

The number of negative markers.

rarity_marker_1: bool

True if the USAS tag contains the rarity marker %.

rarity_marker_2: bool

True if the USAS tag contains the rarity marker @.

female: bool

True if the USAS tag contains the female marker denoted by f.

male: bool

True if the USAS tag contains the male marker denoted by m.

antecedents: bool

True if the USAS tag contains the antecedents marker denoted by c.

neuter: bool

True if the USAS tag contains the neuter marker denoted by n.

idiom: Literal[False]

False, currently not supported and therefore is always False.

class usas_validator.usas_tag.USASTagGroup(**data)[source]

Bases: BaseModel

Represents a grouping of one or more USAS tags that are associated to a token.

tags: list[USASTag]

A list of USAS tags that are associated to a token. This grouping of USAS tags is a way of representing multi tag membership.