sanzang 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sanzang/command/translate.rb +4 -4
- data/lib/sanzang/version.rb +1 -1
- metadata +10 -5
@@ -123,7 +123,7 @@ module Sanzang::Command
|
|
123
123
|
|
124
124
|
pr.banner << "\nExamples:\n"
|
125
125
|
pr.banner << " #{@name} -i text.txt -o text.sz.txt table.txt\n"
|
126
|
-
pr.banner << " #{@name} -B table.txt
|
126
|
+
pr.banner << " #{@name} -B output_dir table.txt < myfiles.txt\n"
|
127
127
|
pr.banner << "\nOptions:\n"
|
128
128
|
|
129
129
|
pr.on("-h", "--help", "show this help message and exit") do |v|
|
@@ -149,9 +149,9 @@ module Sanzang::Command
|
|
149
149
|
pr.on("-P", "--platform", "show platform information") do |v|
|
150
150
|
puts "Ruby version: #{RUBY_VERSION}"
|
151
151
|
puts "Ruby platform: #{RUBY_PLATFORM}"
|
152
|
-
puts "External encoding: #{Encoding
|
153
|
-
if Encoding
|
154
|
-
puts "Internal encoding: #{Encoding
|
152
|
+
puts "External encoding: #{Encoding.default_external}"
|
153
|
+
if Encoding.default_internal != nil
|
154
|
+
puts "Internal encoding: #{Encoding.default_internal}"
|
155
155
|
end
|
156
156
|
exit 0
|
157
157
|
end
|
data/lib/sanzang/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanzang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: parallel
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,12 @@ dependencies:
|
|
21
21
|
version: 0.5.19
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.5.19
|
25
30
|
description: Sanzang is an application built for direct machine translation of natural
|
26
31
|
languages. This application is particularly suitable as a translation aid for for
|
27
32
|
ancient Chinese texts. Sanzang uses simple direct translation rules organized into
|
@@ -88,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
95
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.8.
|
96
|
+
rubygems_version: 1.8.23
|
92
97
|
signing_key:
|
93
98
|
specification_version: 3
|
94
99
|
summary: Sanzang
|