fact-extractor
fact-extractor copied to clipboard
Integrate frame confidence score into FE scoring
Description
This pull request addresses the issue where the frame_conf parameter was not being used in the score_fe function. The function is now updated to include the frame_conf in the score calculation, ensuring that the frame confidence is properly integrated into the final score.
Changes Made
- Updated the score_fe function to incorporate frame_conf in the score calculations.
- Added handling for cases where frame_conf or role_conf might be None..
Testing Verified the functionality to ensure that the scores are correctly calculated with the new inclusion of frame_conf.
Related Issue https://github.com/dbpedia/fact-extractor/issues/87