Rubyスクリプト

401 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
401
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Rubyスクリプト

    1. 1. Ruby 2012/02/21
    2. 2. calcWWC ttx_rep_extractCSVDump2TMX txt2tmxmakeFileList txt2ttxtbx2xls hiatustmx2xlstmxSplitter
    3. 3. calcWWCTrados Idiom SDLX Passolo csv ( Pjt WC ) : /
    4. 4. CSV
    5. 5. *
    6. 6. IdiomIdiom CSV ( )
    7. 7. CSVDump2TMXLocStudio CSVDumpWCSV TMX :MS SW TM
    8. 8. CSV
    9. 9. makeFileList MS DoxStudio XMLtitle Rev :
    10. 10. (DoxStudio )
    11. 11. tbx2xlstbx (Idiom xlz zip ) xls :tbx /
    12. 12. tbx
    13. 13. tmx2xlsTMX1.4b(utf-16 ) xls :TM RTF /TMX
    14. 14. TMX
    15. 15. <bpt i=”1”>{f5 ... RTF TM
    16. 16. TMX 10000 TMXtmxSplitter
    17. 17. Question?
    18. 18. tmxSplitterTMX or TM txt :TMX or TM txt TM
    19. 19. cmdruby <tmxSplitter.rb > <TMX > (<1 >) :ruby ‘C:temptmxSplitter.rb’ C:tempmytmx.tmx 5000<1 >10000
    20. 20. ttx_rep_extractttx Reps : Reps
    21. 21. (!How2+notice.txt )1. TTX [Segment Unknown segment] PreTrans2. TTX rep_count.rb3. resutl.txt excel4. 15. xls B ( ) UTF-8 withoutb BOM6. (<= nbsp) @nbsp@7. txt2ttx_simple.rb TXT TTX8. TTX FrontMatter Source Target9. TTX @tab@ @nbsp@  
    22. 22. txt2tmx TMX1.4b :xls TMX
    23. 23. UTF-8 without BOM Excel1 Source 2 Target MakeTMX_simple_EN2XX.rb(JA MakeTMX_simple_JA2EN.rb )
    24. 24. txt2ttxtxt ttx :txt ttx
    25. 25. ttx UTF-8 without BOMcmdruby <txt2ttx_simple.rb > < TXT > :ruby C:temptxt2ttx_simple.rb C:tempreps_only.txt
    26. 26. hiatusQA Source/Target / InconsistencyTXT,TTX,TMX,TSV,CSV(write write/writes/writing/wrote/written ) ( )
    27. 27. TTXSDLX (itd )RTF
    28. 28. 42
    29. 29. config.yamlhiatus.rborcmd hiatus.rb cdruby hiatus.rb( cmd )
    30. 30. config.yamlrequiredbilingual:output:report: ( xls )source:target:glossary: (txt)monolingual: (txt)checkglossary, inconsistency,missingtag,skip, monolingual,numbers, length true falseoptionfilter_by: Idiom txtingore100: 100%
    31. 31. TXT(UTF8 without BOM )source*i = ignore case ( )m = multiline, e = extended = Off source Off Blank
    32. 32. (monolingual) TXT(UTF8 without BOM )s/t*s/ts ts = Sourcet = Targeti = ignore case ( )m = multiline, e = extended = Off s/t OffBlank

    ×