TODO update
added subclass for sample corpus; updated use-cases and argument parsing
dump sampling method, dump opening-closing manager (for with statements)