Ruby
       2012/02/21
calcWWC        ttx_rep_extract

CSVDump2TMX    txt2tmx

makeFileList   txt2ttx

tbx2xls        hiatus

tmx2xls

tmxSplitter
calcWWC
Trados       Idiom   SDLX   Passolo
 csv

                            (         Pjt   WC
                       )

         :
                       /
CSV
*
Idiom




Idiom       CSV


        (
   )
CSVDump2TMX

LocStudio         CSVDumpW
CSV   TMX

      :
MS          SW   TM
CSV
makeFileList


            MS   DoxStudio   XML
title   Rev




        :
(DoxStudio   )
tbx2xls

tbx       (Idiom   xlz   zip
             )     xls

      :
tbx                            /
tbx
tmx2xls

TMX1.4b(utf-16   )   xls

       :
TM   RTF              /TMX
TMX
<bpt i=”1”>{f5 ...   RTF
  TM
TMX            10000
         TMX
tmxSplitter
Question?
tmxSplitter

TMX or TM txt

      :
TMX or TM txt       TM
cmd

ruby <tmxSplitter.rb                        > <
TMX                       > (<1                          >)

  :
ruby ‘C:temptmxSplitter.rb’ 'C:tempmytmx.tmx' 5000


<1                         >
10000
ttx_rep_extract
ttx   Reps




      :
              Reps
(!How2+notice.txt                                  )
1.       TTX       [Segment Unknown segment]          PreTrans

2. TTX             rep_count.rb

3.             resutl.txt        excel

4.                      1

5.               xls        B                 (              )
               UTF-8 withoutb BOM

6.   (<= nbsp)      @nbsp@

7. txt2ttx_simple.rb              TXT    TTX

8. TTX     FrontMatter          Source       Target

9. TTX     @tab@                @nbsp@    
txt2tmx


              TMX1.4b

      :
xls           TMX
UTF-8 without BOM
           Excel

1       Source   2    Target

                      MakeTMX_simple_EN2XX.rb


(JA              MakeTMX_simple_JA2EN.rb
    )
txt2ttx


txt   ttx

       :
txt   ttx
ttx                       UTF-8 without BOM

cmd

ruby <txt2ttx_simple.rb                          > <
      TXT                      >

  :
ruby 'C:temptxt2ttx_simple.rb' 'C:tempreps_only.txt'
hiatus
QA



         Source/Target                                /
     Inconsistency



TXT,TTX,TMX,TSV,CSV




(write       write/writes/writing/wrote/written   )

                         (      )
TTX
SDLX (itd   )
RTF
4
2
config.yaml

hiatus.rb

or

cmd   hiatus.rb         cd
ruby hiatus.rb


(                 cmd        )
config.yaml
required
bilingual:
output:
report:                   (   xls   )
source:
target:
glossary:       (txt)
monolingual:              (txt)

check
glossary, inconsistency,
missingtag,skip, monolingual,
numbers, length
                       true
             false

option
filter_by: Idiom        txt


ingore100: 100%
TXT
(UTF8 without BOM       )



source
*



i = ignore case (             )
m = multiline, e = extended
    =         Off



         source                   Off
            Blank
(monolingual)
                  TXT
(UTF8 without BOM       )



s/t
*

s/t
s       t
s = Source
t = Target



i = ignore case (             )
m = multiline, e = extended
    =         Off



            s/t                   Off
Blank
Rubyスクリプト

Rubyスクリプト