put 'all' in output name if all lines are used or all phrase lengths are allowed