pragmatic_segmenter_server 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pragmatic_segmenter_server/segment.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 691daea57ce5a11eea96376091386612365d906b6fea70efa0db9b1233a0881f
|
4
|
+
data.tar.gz: a8bd66465a670f0b103740e113489fb047879bf26d6b1275c51b2f6efec1f724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f374217088e3f83498d3cff70f655c99947fc66f06ff76f8665d7e2f93e9428e5e78f7556d978f1f0aef99b17ff8dc55172af889c2d95c9f75022886a787634f
|
7
|
+
data.tar.gz: c741cce30fc4e4041f722545834a27b29a69d331e6c0c15f66ae328c49bb461a818a9eec82a90bbf27c0822254da72e82edf8d7e2ec4fb48e741ecb0d2e93753
|
@@ -19,9 +19,9 @@ def segment(text, lang, segmentByNewline)
|
|
19
19
|
|
20
20
|
if segmentByNewline && textPart.match(newLineRegex)
|
21
21
|
mask += textPart
|
22
|
-
puts("Sep:" + textPart.inspect)
|
22
|
+
# puts("Sep:" + textPart.inspect)
|
23
23
|
else
|
24
|
-
puts("texto:" + textPart )
|
24
|
+
# puts("texto:" + textPart )
|
25
25
|
if textPart == ""
|
26
26
|
next
|
27
27
|
end
|