Support the case where DAN does not output anything
Current version crashes (at least on NER) because it tries to compute probabilities on empty indices. We should skip most of that computation altogether when no text is predicted.
Current version crashes (at least on NER) because it tries to compute probabilities on empty indices. We should skip most of that computation altogether when no text is predicted.