Skip to content

Commit

Permalink
Fixed comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fjodor van Rijsselberg authored and Fjodor van Rijsselberg committed Apr 5, 2023
1 parent ce19acd commit 4860fba
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/enhancers/KeywordEnhancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ def enhance_metadata(self):
def add_terms_to_metadata(self, terms: list, topic: dict):
""" Goes through all the retrieved terms and adds them to the metadata.
For every term we add a URI and a label to the matched keyword in
the ELSST Topics block.
There is a limit of 3 terms that can be added for a single keyword.
The metadata block contains fields for elsstVarUri1, elsstVarUri2,
and elsstVarUri3. The same goes for the labels.
For every term we add a URI and a label to the matched keyword in
the ELSST Topics block.
There is a limit of 3 terms that can be added for a single keyword.
The metadata block contains fields for elsstVarUri1, elsstVarUri2,
and elsstVarUri3. The same goes for the labels.
:param terms: The terms matched to a specific keyword.
:param topic: The topic field that keyword is in.
Expand Down

0 comments on commit 4860fba

Please sign in to comment.