From 4860fba809ba27ea4d543f0b0df7c9463cd5d44b Mon Sep 17 00:00:00 2001 From: Fjodor van Rijsselberg Date: Wed, 5 Apr 2023 17:11:51 +0200 Subject: [PATCH] Fixed comment. --- src/enhancers/KeywordEnhancer.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/enhancers/KeywordEnhancer.py b/src/enhancers/KeywordEnhancer.py index f8bda3c..4804317 100644 --- a/src/enhancers/KeywordEnhancer.py +++ b/src/enhancers/KeywordEnhancer.py @@ -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.