rubyplb 0.2.93 → 0.2.94

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b35f79b9623419faab6fbbdd26b8068973cf465
4
- data.tar.gz: f792fdc5c9a6c0154362e07216894d4453d3fe2b
3
+ metadata.gz: d2daf4edf0935e34e3dcdc6341dfeefbfe5d0fd3
4
+ data.tar.gz: 014f4de770971f36d5a13b53176904f1a483a1c0
5
5
  SHA512:
6
- metadata.gz: 68be61e057712ca53953a9c5a4ba2238e18178368b06ac671d9bb1fe23e6c3ab6efd9249e0c431519c8f416e988cfb85a4a2c2d3b076b50915859ce075844e1a
7
- data.tar.gz: c1fce6dd7009f9321b461e946e6a97dbe80c683f881e15a8eea4d1d2245fbc3bc0a3b78a1d95774afe1ba7f0ef064d1436602fe53c6ccdfcf823f9dfaf2cba68
6
+ metadata.gz: ab5e6ba09f3759156751d5f55c7f205f910ae4d3aabba79771ccfa1be4df92040b62d9fb2a67753a28d99022339bfa93a69456d64bd50ac9e149a2fd178ef4fb
7
+ data.tar.gz: d39ed47599ceedce917b722e1346ad915114084e12ce632314876fc9549d7c093dda53a681d15520eb7105f6467b687949e6083a594c4a4dd1cb6d7a4dd438ce
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.93
1
+ 0.2.94
data/bin/rubyplb CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # -*- coding: utf-8 -*-
3
+ Encoding.default_external = "UTF-8"
3
4
 
4
5
  $:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
5
6
  $:.unshift File.join(File.dirname(__FILE__), '..', 'lib/rubyplb')
@@ -82,7 +83,7 @@ if (File.exist?(filename2) && !opts[:sil])
82
83
  end
83
84
 
84
85
  begin
85
- f = File.open(filename1, "r")
86
+ f = File.open(filename1, "r:UTF-8:UTF-8")
86
87
  rescue => e
87
88
  showerror("Input file does not exist.", 1)
88
89
  end
@@ -96,7 +97,7 @@ begin
96
97
  pl = PatLattice.new(opts)
97
98
  sentences.each do |sentence|
98
99
  pl.insert(sentence, !opts[:full])
99
- end
100
+ end
100
101
  # rescue => e
101
102
  # showerror("Source data may have problems. Process aborted.", 1)
102
103
  end
@@ -1,3 +1,3 @@
1
1
  module Rubyplb
2
- VERSION = "0.2.93"
2
+ VERSION = "0.2.94"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyplb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.93
4
+ version: 0.2.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kow Kuroda