fact-extractor
fact-extractor copied to clipboard
Fix: Parametrize Stopwords Language in label_sentence Function
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