Tag classification rules - QutEcoacoustics/baw-server GitHub Wiki
The tag table has a few columns that describe what a tag represents.
The way the attributes of columns are used to classify the tag text is currently ambiguous.
Also, in production databases, there are many examples of misclassifications.
This page will define rules, show examples, and present a new system for classification.
Rules
type_of_tagdescribes the tag's semantic value. It is an enumeration with several possible values:generalis the catch all type. Anything that does not have a more specific class is generallooks_likeis used for tags that describe some abstract visual shape on a spectrogram.- e.g. it looks like a
chair - e.g. it looks like a
line - e.g. it looks like the
hiragana ku
- e.g. it looks like a
sounds_likeis used for tags that describe some abstract auditory concept. They don't describe what you are literally hearing, but rather are creative, descriptive, analogous, or onomatopoeic. Bird call classification language is a great example.- e.g. it sounds like a
nails on a chalkboardwhen describing a screeching call - e.g. it sounds like a
jackhammerwhen describing a repetitive loud noise - e.g. it sounds like a
tril - e.g. it sounds like a
peep peep peep - e.g. it sounds like a
caw
- e.g. it sounds like a
- [Proposal]
anthropophony- used to classify a tag that describes human generated sound- e.g.
car,helicopter,generator
- e.g.
- [Proposal]
geophony- used to classify a tag that describes environmental sound (other than that generated by fauna or humans)- e.g.
wind,rain,light rain,waves,tree falling
- e.g.
commonis used to describe a common name of an animal.- [Proposal] This classification is being deprecated.
scientificis used to describe the scientific name of an animal (sometimes known as the Latin name).- [Proposal] This classification is being deprecated.
- [Proposal] The following classifications replace the
commontag and additionally describe the taxonomic rank of the tag:common_domaincommon_kingdomcommon_phylumcommon_classcommon_ordercommon_familycommon_genuscommon_species
- [Proposal] The following classifications replace the
scientifictag and additionally describe the taxonomic rank of the tag:scientific_domainscientific_kingdomscientific_phylumscientific_classscientific_orderscientific_familyscientific_genusscientific_species
is_taxanomicis a shortcut flag that is designed to make queries easier to write. It's value should befalseunless the tag has any of the following classes:commoncommon_domaincommon_kingdomcommon_phylumcommon_classcommon_ordercommon_familycommon_genuscommon_speciesscientificscientific_domainscientific_kingdomscientific_phylumscientific_classscientific_orderscientific_familyscientific_genusscientific_species
retiredis a flag that indicates a tag should no longer be used and should not be allowed to be applied to new annotations
Examples
text |
type_of_tag |
[Proposal] type_of_tag |
is_taxanomic |
retired |
My Notes |
|---|---|---|---|---|---|
| Car | general | anthropophony | FALSE | FALSE | |
| wind | general | geophony | FALSE | FALSE | |
| overlapping | general | general | FALSE | FALSE | |
| Cockatoo | common | common_family | TRUE | FALSE | Family name |
| Koala | common | common_species | TRUE | FALSE | Species common name |
| Phascolarctos cinereus | scientific | scientific_species | TRUE | FALSE | Species scientific name |
| Yellow Robin | common | common_genus | TRUE | FALSE | |
| Eastern Yellow Robin | common | common_species | TRUE | FALSE | |
| Esopaltria australis | scientific | scientific_species | TRUE | FALSE | |
| Corella sp | common | common_genus | TRUE | FALSE | an example of bad user-input data (the sp) |
| corella_sp | common | common_genus | TRUE | TRUE | underscore delimitted tags are deprecated |
| faiy_wren_4 | common | common_species | TRUE | TRUE | underscore delimitted tags are deprecated |
| chair | looks_like | looks_like | FALSE | FALSE | |
| chainsaw | sounds_like | sounds_like | FALSE | FALSE |
A note on relationships
This document is about classifying a tag's text and not establishing a relationship between tags.
However, we do see value in establishing relationships to other tags. Linking tags will happen
through the tag_groups table. Groups are any grouping of tags that are useful. Groups are not
exhaustive (do not need to include every tag semantically defined by the group name).
Examples of groupings follow:
group:parrotscould includetag:parrot:common_order.tag:cockatoo:common_family,tag:Cacatua:scientific_genus,tag:little corella:common_species,tag:Cacatua sanguinea:scientific_species