fossology / atarashi

Atarashi scans for license statements in open source software, focusing on text statistics. Designed to work stand-alone and with FOSSology.
http://fossology.github.io/atarashi
GNU General Public License v2.0
26 stars 23 forks source link

Fix(evaluator): Fixed evaluator commands #62

Closed Kaushl2208 closed 4 years ago

Kaushl2208 commented 4 years ago

Description

The Evaluator commands are set for both two parameters i.e agent_name and similarity but some agents run without similarity type also. This needed an easy fix in the evaluator.py file.

Changes

Testing and verifying

You can test and verify by using the commands: python evaluator.py -a tfidf For tfidf python evaluator.py -a Ngram for Ngram

Issue Ref

61

amanjain97 commented 4 years ago

@hastagAB Can you please verify whether it is working and then resolve the corresponding issue.

amanjain97 commented 4 years ago

Code changes looks good to me.

hastagAB commented 4 years ago

@Kaushl2208 Thanks for your contribution.