Skip to content

Commit

Permalink
Add terms
Browse files Browse the repository at this point in the history
  • Loading branch information
reknih committed Oct 28, 2023
1 parent ad24c25 commit c3fd7da
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/taxonomy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,29 @@ pub enum OtherTerm {
Season03,
Season04,

// Disciplines
Anthropology,
Astronomy,
Biology,
Botany,
Chemistry,
Engineering,
GenericBase,
Geography,
History,
Humanities,
Literature,
Math,
Philosophy,
Physics,
Psychology,
Sociology,
Science,
PoliticalScience,
SocialScience,
Theology,
Zoology,

// Miscellaneous
Accessed,
Ad,
Expand Down Expand Up @@ -1074,6 +1097,27 @@ impl FromStr for OtherTerm {
"colon" => Ok(Self::Colon),
"comma" => Ok(Self::Comma),
"semicolon" => Ok(Self::Semicolon),
"anthropology" => Ok(Self::Anthropology),
"astronomy" => Ok(Self::Astronomy),
"biology" => Ok(Self::Biology),
"botany" => Ok(Self::Botany),
"chemistry" => Ok(Self::Chemistry),
"engineering" => Ok(Self::Engineering),
"generic-base" => Ok(Self::GenericBase),
"geography" => Ok(Self::Geography),
"history" => Ok(Self::History),
"humanities" => Ok(Self::Humanities),
"literature" => Ok(Self::Literature),
"math" => Ok(Self::Math),
"philosophy" => Ok(Self::Philosophy),
"physics" => Ok(Self::Physics),
"psychology" => Ok(Self::Psychology),
"sociology" => Ok(Self::Sociology),
"science" => Ok(Self::Science),
"political-science" => Ok(Self::PoliticalScience),
"social-science" => Ok(Self::SocialScience),
"theology" => Ok(Self::Theology),
"zoology" => Ok(Self::Zoology),
"accessed" => Ok(Self::Accessed),
"ad" => Ok(Self::Ad),
"advance-online-publication" => Ok(Self::AdvanceOnlinePublication),
Expand Down Expand Up @@ -1145,6 +1189,27 @@ impl fmt::Display for OtherTerm {
Self::Colon => write!(f, "colon"),
Self::Comma => write!(f, "comma"),
Self::Semicolon => write!(f, "semicolon"),
Self::Anthropology => write!(f, "anthropology"),
Self::Astronomy => write!(f, "astronomy"),
Self::Biology => write!(f, "biology"),
Self::Botany => write!(f, "botany"),
Self::Chemistry => write!(f, "chemistry"),
Self::Engineering => write!(f, "engineering"),
Self::GenericBase => write!(f, "generic-base"),
Self::Geography => write!(f, "geography"),
Self::History => write!(f, "history"),
Self::Humanities => write!(f, "humanities"),
Self::Literature => write!(f, "literature"),
Self::Math => write!(f, "math"),
Self::Philosophy => write!(f, "philosophy"),
Self::Physics => write!(f, "physics"),
Self::Psychology => write!(f, "psychology"),
Self::Sociology => write!(f, "sociology"),
Self::Science => write!(f, "science"),
Self::PoliticalScience => write!(f, "political-science"),
Self::SocialScience => write!(f, "social-science"),
Self::Theology => write!(f, "theology"),
Self::Zoology => write!(f, "zoology"),
Self::Accessed => write!(f, "accessed"),
Self::Ad => write!(f, "ad"),
Self::AdvanceOnlinePublication => write!(f, "advance-online-publication"),
Expand Down

0 comments on commit c3fd7da

Please sign in to comment.