sanzang 0.0.3 → 1.0.0

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.
@@ -1,4 +1,8 @@
1
1
  [1.1]     大唐三藏法師玄奘奉
2
+ [1.2]      dà táng sānzàng fǎshī xuánzàng fèng
3
+ [1.3]      great tang tripiṭaka dharma-master xuanzang reverently
2
4
 
3
5
  [2.1]  詔譯
6
+ [2.2]   zhào yì
7
+ [2.3]   imperial-order translate/interpret
4
8
 
metadata CHANGED
@@ -1,52 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanzang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Lapis Lazuli Texts
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-13 00:00:00.000000000 Z
11
+ date: 2013-04-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: parallel
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.5.19
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.5.19
30
- description: Sanzang is an application built for direct machine translation of natural
31
- languages. This application is particularly suitable as a translation aid for for
32
- ancient Chinese texts. Sanzang uses simple direct translation rules organized into
33
- translation tables, which are stored in a straightforward text format. Batch translations
34
- utilize multiprocessing to translate files in parallel, naturally scaling to the
35
- number of processors available. Sanzang is available under the GNU General Public
36
- License, version 3.
27
+ description: Sanzang is a program built for machine translation of natural languages.
28
+ This application is particularly suitable as a translation aid for CJK languages
29
+ including ancient texts. The translation method is rule-based, and translation rules
30
+ are stored in flat files as delimited text. This program can also utilize multiprocessing
31
+ to naturally scale to multiple processors and processor cores. Sanzang is available
32
+ under the GNU GPL, version 3.
37
33
  email:
38
34
  - lapislazulitexts@gmail.com
39
35
  executables:
40
- - sanzang-reflow
41
- - sanzang-translate
36
+ - sanzang
42
37
  extensions: []
43
38
  extra_rdoc_files:
44
39
  - HACKING
45
40
  - LICENSE
41
+ - MANUAL
46
42
  - README
47
43
  files:
48
- - bin/sanzang-reflow
49
- - bin/sanzang-translate
44
+ - bin/sanzang
50
45
  - test/utf-8/batch/README
51
46
  - test/utf-8/stage_3.txt
52
47
  - test/utf-8/file_4.txt
@@ -61,42 +56,41 @@ files:
61
56
  - lib/sanzang.rb
62
57
  - lib/sanzang/text_formatter.rb
63
58
  - lib/sanzang/translation_table.rb
59
+ - lib/sanzang/batch_translator.rb
64
60
  - lib/sanzang/version.rb
65
61
  - lib/sanzang/command/reflow.rb
62
+ - lib/sanzang/command/sanzang_cmd.rb
66
63
  - lib/sanzang/command/translate.rb
64
+ - lib/sanzang/command/batch.rb
67
65
  - lib/sanzang/translator.rb
68
66
  - HACKING
69
67
  - LICENSE
68
+ - MANUAL
70
69
  - README
71
- homepage: http://www.lapislazulitexts.com
70
+ homepage: http://www.lapislazulitexts.com/sanzang/
72
71
  licenses:
73
72
  - GPL-3
73
+ metadata: {}
74
74
  post_install_message:
75
- rdoc_options:
76
- - --main
77
- - README
78
- - --title
79
- - Sanzang
75
+ rdoc_options: []
80
76
  require_paths:
81
77
  - lib
82
78
  required_ruby_version: !ruby/object:Gem::Requirement
83
- none: false
84
79
  requirements:
85
- - - ! '>='
80
+ - - '>='
86
81
  - !ruby/object:Gem::Version
87
82
  version: 1.9.0
88
83
  required_rubygems_version: !ruby/object:Gem::Requirement
89
- none: false
90
84
  requirements:
91
- - - ! '>='
85
+ - - '>='
92
86
  - !ruby/object:Gem::Version
93
87
  version: '0'
94
88
  requirements: []
95
89
  rubyforge_project:
96
- rubygems_version: 1.8.23
90
+ rubygems_version: 2.0.0
97
91
  signing_key:
98
- specification_version: 3
99
- summary: Sanzang
92
+ specification_version: 4
93
+ summary: Simple rule-based machine translation system.
100
94
  test_files:
101
95
  - test/tc_reflow_encodings.rb
102
96
  - test/tc_simple_translation.rb
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # -*- encoding: UTF-8 -*-
3
- #--
4
- # Copyright (C) 2012 Lapis Lazuli Texts
5
- #
6
- # This program is free software: you can redistribute it and/or modify it under
7
- # the terms of the GNU General Public License as published by the Free Software
8
- # Foundation, either version 3 of the License, or (at your option) any later
9
- # version.
10
- #
11
- # This program is distributed in the hope that it will be useful, but WITHOUT
12
- # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
- # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
- # details.
15
- #
16
- # You should have received a copy of the GNU General Public License along with
17
- # this program. If not, see <http://www.gnu.org/licenses/>.
18
-
19
- require_relative File.join("..", "lib", "sanzang")
20
-
21
- Kernel.exit(Sanzang::Command::Translate.new.run(ARGV))