diff --git a/robotoff/prediction/ocr/category.py b/robotoff/prediction/ocr/category.py index 13da845890..89b9f761aa 100644 --- a/robotoff/prediction/ocr/category.py +++ b/robotoff/prediction/ocr/category.py @@ -81,9 +81,7 @@ def category_taxonomisation(lang, match) -> Optional[str]: def find_category(content: Union[OCRResult, str]) -> List[Prediction]: - """This function returns a prediction of the category of the product - by detecting an AOP syntax which allows an easy category - prediction with REGEX. + """This function returns a prediction of the product category. For now we are extracting categories via REGEX only thanks to an AOP syntax but we may find in the future other ways to get sure prediction of categories.