Skip to content

Commit

Permalink
fix thirdleveltag
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjan-stha authored and aembryonic committed Nov 20, 2023
1 parent 4944219 commit 5203294
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions nlp_scripts/model_prediction/third_level_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ class ThirdLevel(Enum):
parent_id=getattr(SecondLevel.LogisticsTag.value, "id"),
alias="Supply Chain",
)
# this one was missing.
CommunicationTag = ThirdLevelCategories(
id="1402",
key="Communication",
version=version,
has_parent=True,
parent_id=getattr(SecondLevel.LogisticsTag.value, "id"),
alias="Communication",
)
# Shelter - 105
DomesticLivingSpaceTag = ThirdLevelCategories(
id="1501",
Expand All @@ -112,11 +121,11 @@ class ThirdLevel(Enum):
)
DwellingEnvelopeTag = ThirdLevelCategories(
id="1502",
key="Dwelling envelope",
key="Dwelling enveloppe", # wrongly tag in tagging sheet and model as well. "Dwelling enveloppe"
version=version,
has_parent=True,
parent_id=getattr(SecondLevel.ShelterTag.value, "id"),
alias="Dwelling Envelope",
alias="Dwelling Enveloppe",
)
# Nutrition - 106
NutritionGoodsAndServicesTag = ThirdLevelCategories(
Expand Down

0 comments on commit 5203294

Please sign in to comment.