Skip to content

Commit

Permalink
Be more tolerant to mistakes in input format.
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-zeman committed Mar 12, 2017
1 parent 4c4ebf7 commit 9b2ebb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text_without_spaces.pl
Expand Up @@ -15,11 +15,11 @@
(
'input=s' => \$input
);
if($input =~ m/^conlluform/i)
if($input =~ m/^conllu?form/i)
{
process_conllu_forms();
}
elsif($input =~ m/^conllutext/i)
elsif($input =~ m/^conllu?text/i)
{
process_conllu_sentence_text();
}
Expand Down

0 comments on commit 9b2ebb0

Please sign in to comment.