clamsproject / mmif-summarizer

Apache License 2.0
0 stars 0 forks source link

Summarizer usage and functionality #9

Open marcverhagen opened 1 year ago

marcverhagen commented 1 year ago

By request, the summarizer now generates JSON instead of XML. In addition, it is now intended to run as a command line tool (but a Flask interface is still available). The interface has been cleared up a bit and aligns more clearly with the need of users, see https://github.com/clamsproject/mmif-summarizer/tree/develop for a list of options when running.

To call the summarizer you run a command like this:

$ python summary.py --views --segments INPUT_MMIF_FILE

My questions for users are:

  1. Does the interface make sense?
  2. Does the way to call the summarizer work for you? An alternative that I am working on is to allow you to do pip install mmif-summarizer and then have access to a command summarize.
  3. Is there any functionality that you would like added?