Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_READ_ME_FIRST.txt « Moses2TMX « contrib - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbc667a31b48a26ffac49d013ac9f92156db9225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Summary:
	PURPOSE
	REQUIREMENTS
	INSTALLATION
	HOW TO USE
	LICENSE


********************************************************************************
PURPOSE:
********************************************************************************
This is the MS Windows and Linux version (tested with Ubuntu 10.10 and 11.04) of
Moses2TMX 1.033.

Moses2TMX started as a Windows program (tested on Windows7, Vista and XP) that
enables translators not necessarily with a deep knowledge of linguistic tools to
create TMX files from a Moses corpus or from any other corpus made up of 2
separate files, one for the source language and another for the target language,
whose lines are strictly aligned.

The program processes a whole directory containing source language and
corresponding target language documents and creates 1 TMX file (UTF-16 format;
Windows line endings) for each document pair that it processes.

The program accepts and preserves text in any language (including special
diacritical characters), but has only been tested with European Union official
languages.

The program is specifically intended to work with the output of a series of
Linux scripts together called Moses-for-Mere-Mortals.

********************************************************************************
REQUIREMENTS:
********************************************************************************
The program requires the following to be pre-installed in your computer:

1) Python 2.5 or higher (The program has been tested on Python 2.5 to 2.7)
	Windows users download and install from http://www.python.org/download/
	Ubuntu users can use the pre-installed Python distribution

2) wxPython 2.8 or higher
	Windows users download and install the Unicode version from
	http://www.wxpython.org/download.php
	Ubuntu users install with: sudo apt-get install python-wxtools

3) Pythoncard 0.8.2 or higher
	Windows users download and install
	http://sourceforge.net/projects/pythoncard/files/PythonCard/0.8.2/PythonCard-0.8.2.win32.exe/download
	Ubuntu users install with: sudo apt-get install pythoncard

********************************************************************************
INSTALLATION:
********************************************************************************
Windows users:
1) Download the Moses2TMX.exe file to a directory of your choice.
2) Double-click Moses2TMX.exe and follow the wizard's instructions.
NOTE: Windows Vista users, to run the installation programs, by right-click on
the installation file in Windows Explorer and choose "Execute as administrator"
in the contextual menu.

Ubuntu users:
1) Download the Moses2TMX.tgz compressed file to a directory of your choice.
2) Expand the compressed file and run from the expanded directory.

***IMPORTANT***: Never erase the file "LanguageCodes.txt" in that directory. It
is necessary for telling the program the languages that it has to process. If
your TMX files use language codes that are different from those contained in
this file, please replace the codes contained in the file with the codes used in
your TMX files. You can always add or delete new codes to this file (when the
program is not running).

********************************************************************************
HOW TO USE:
********************************************************************************
1) Create a directory where you will copy the files that you want to process.

2) Copy the source and target language documents that you want to process to
that directory.
NOTE YOU HAVE TO RESPECT SOME NAMING CONVENTIONS IN ORDER TO BE ABLE TO USE
THIS PROGRAM:

	a) the target documents have to have follow the following convention:

		{basename}.{abbreviation of target language}.moses

		where {abbreviation of target language} is a ***2 character*** string
		containing the lowercased first 2 characters of any of the language
		codes present in the LanguageCodes.txt (present in the base directory of
		Moses2TMX)

		Example: If {basename} = "200000" and the target language has a code
		"EN-GB" in the LanguageCodes.txt, then the name of the target file
		should be "200000.en.moses"

	b) the source language document should have the name:

		{basename}

		Example: continuing the preceding example, the name of the corresponding
		source document should be "200000".

3) Launch the program as indicated above in the "Launching the program" section.

4) Operate on the main window of the program in the direction from top to
   bottom:
	a) Click the "Select Directory..." button to indicate the directory
	containing all the source and corresponding target documents that you want
	to process;
	b) Indicate the languages of your files refers to in the "Source Language"
	and "Target Language" comboboxes;
	c) Click the Create TMX Files button.

********************************************************************************
LICENSE:
********************************************************************************

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation (version 3 of the License).

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.