fact-extractor icon indicating copy to clipboard operation
fact-extractor copied to clipboard

Fix: Parametrize Stopwords Language in label_sentence Function

Open Sachin-NK opened this issue 2 months ago • 0 comments

Description

This pull request addresses the issue where Italian stopwords were hardcoded in the label_sentence function. The stopwords language is now parameterized, allowing for multilingual support and improved flexibility.

Changes Made

  • Added a language parameter to the label_sentence function.
  • Updated the stopwords check to use the specified language dynamically.

Testing Verified the functionality with different languages for stopwords.

Related Issue https://github.com/dbpedia/fact-extractor/issues/88

Sachin-NK avatar Dec 27 '24 04:12 Sachin-NK