Forum: CAT Tools Technical Help
Topic: New free & open source aligner (for Windows, OS X and linux)
Poster: FarkasAndras
Post title: note
[quote]esperantisto wrote:
I have a plain-text file UTF-8 that I want to convert to a TMX file (using TMX Maker 3.0 from LF Aligner 4.1 on Windows 7) as follows:
[code]source{tab}target[/code]
When I start TMX Maker, I see:
[code]Drag and drop the input file (tab delimited txt in UTF-8 encoding, or xls) here
and press enter.[/code]
My file seems to fit, thus, I drag and drop it, go through the following steps (choose the output file name, the number of languages (2, as by default), the language codes (I specify EN-US and BE-BY), the date/time (I confirm the default), the creator name (I confirm the default), the note (I leave none), and hit Enter. Then I get just a bunch of:
[code]LINE XXX OF THE FILE DOESN'T HAVE ENOUGH COLUMNS, SO IT HAS BEEN SKIPPED.
CHECK THE SOURCE FILE AND RUN THE TMX MAKER AGAIN IF NEEDED[/code]
and then:
[code]0 TUs have been written to the TMX. XXX segments were skipped (0 of them due to
being half-empty).[/code]
And, obviously, the resulting TMX file contains only a conventional TMX header, but no TUs.
I tried to search for the above error message in Internet, but I could only find: [url= [url removed] ]reading a CSV files columns directly into variables names with python[/url]. However, this does not help me.
Is there anything else that I should check/look into? [/quote]
The reason is that the TMX maker looks for a third column in the txt file if you leave the default settings in place (because LF Aligner produces 3-column tabbed files with the name of the source files in the third column). Your file only has two columns, so when you get the prompt for adding a note, enter a reference to the source file (or type none to leave it off).
[Edited at 2016-01-06 09:36 GMT]
Topic: New free & open source aligner (for Windows, OS X and linux)
Poster: FarkasAndras
Post title: note
[quote]esperantisto wrote:
I have a plain-text file UTF-8 that I want to convert to a TMX file (using TMX Maker 3.0 from LF Aligner 4.1 on Windows 7) as follows:
[code]source{tab}target[/code]
When I start TMX Maker, I see:
[code]Drag and drop the input file (tab delimited txt in UTF-8 encoding, or xls) here
and press enter.[/code]
My file seems to fit, thus, I drag and drop it, go through the following steps (choose the output file name, the number of languages (2, as by default), the language codes (I specify EN-US and BE-BY), the date/time (I confirm the default), the creator name (I confirm the default), the note (I leave none), and hit Enter. Then I get just a bunch of:
[code]LINE XXX OF THE FILE DOESN'T HAVE ENOUGH COLUMNS, SO IT HAS BEEN SKIPPED.
CHECK THE SOURCE FILE AND RUN THE TMX MAKER AGAIN IF NEEDED[/code]
and then:
[code]0 TUs have been written to the TMX. XXX segments were skipped (0 of them due to
being half-empty).[/code]
And, obviously, the resulting TMX file contains only a conventional TMX header, but no TUs.
I tried to search for the above error message in Internet, but I could only find: [url= [url removed] ]reading a CSV files columns directly into variables names with python[/url]. However, this does not help me.
Is there anything else that I should check/look into? [/quote]
The reason is that the TMX maker looks for a third column in the txt file if you leave the default settings in place (because LF Aligner produces 3-column tabbed files with the name of the source files in the third column). Your file only has two columns, so when you get the prompt for adding a note, enter a reference to the source file (or type none to leave it off).
[Edited at 2016-01-06 09:36 GMT]