diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-06-02 13:29:32 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-06-02 13:29:32 +0300 |
commit | b3e577be769ecc80257274b3af9f5f2a2490020b (patch) | |
tree | 6894207b748339a12af0fedf6ff0b268d9fe7d8e /scripts/recaser/train-truecaser.perl | |
parent | 0981d2370505672d027d0f6e17890fb36286c439 (diff) |
Fixing lint. Only 600 or so lines of errors left!
Diffstat (limited to 'scripts/recaser/train-truecaser.perl')
-rwxr-xr-x | scripts/recaser/train-truecaser.perl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/recaser/train-truecaser.perl b/scripts/recaser/train-truecaser.perl index 7f8909082..4f600a640 100755 --- a/scripts/recaser/train-truecaser.perl +++ b/scripts/recaser/train-truecaser.perl @@ -8,8 +8,13 @@ # # Options: # -# --possiblyUseFirstToken : boolean option; the default behaviour (when this option is not provided) is that the first token of a sentence is ignored, on the basis that the first word of a sentence is always capitalized; if this option is provided then: a) if a sentence-initial token is *not* capitalized, then it is counted, and b) if a capitalized sentence-initial token is the only token of the segment, then it is counted, but with only 10% of the weight of a normal token. -# +# --possiblyUseFirstToken : boolean option; the default behaviour (when this +# option is not provided) is that the first token of a sentence is ignored, on +# the basis that the first word of a sentence is always capitalized; if this +# option is provided then: a) if a sentence-initial token is *not* capitalized, +# then it is counted, and b) if a capitalized sentence-initial token is the +# only token of the segment, then it is counted, but with only 10% of the +# weight of a normal token. use warnings; use strict; |