Skip to content
Snippets Groups Projects
Commit 1c33992b authored by finn's avatar finn
Browse files

Update argparse arguments in slot_accuracy.py

parent 8d981fdf
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ def main(input_file, output_file): ...@@ -104,7 +104,7 @@ def main(input_file, output_file):
if __name__ == "__main__": if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Calculate slot accuracy between domain knowledge and annotations.") parser = argparse.ArgumentParser(description="Calculate slot accuracy between domain knowledge and annotations.")
parser.add_argument("input_file", type=str, help="Path to the input CSV file.") parser.add_argument("--input_file", type=str, help="Path to the input CSV file.")
parser.add_argument("output_file", type=str, help="Path to the output CSV file.") parser.add_argument("--output_file", type=str, help="Path to the output CSV file.")
args = parser.parse_args() args = parser.parse_args()
main(args.input_file, args.output_file) main(args.input_file, args.output_file)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment