Subject: | lowercase=>0 misbehaves |
% perl -e '
use Text::Ngram qw(ngram_counts);
use YAML::Syck qw(Dump);
print Dump ngram_counts({lowercase=>0}, "Hehe", 3);
'
Use of uninitialized value $buffer in substitution (s///) at
/usr/local/lib/perl/5.10.1/Text/Ngram.pm line 59.
Use of uninitialized value $buffer in substitution (s///) at
/usr/local/lib/perl/5.10.1/Text/Ngram.pm line 62.
Use of uninitialized value in transliteration (tr///) at
/usr/local/lib/perl/5.10.1/Text/Ngram.pm line 68.
Use of uninitialized value in subroutine entry at
/usr/local/lib/perl/5.10.1/Text/Ngram.pm line 165.
---
"\0%2": 1
"%24": 1
240: 1
40s: 1
What gives?