How to create custom parser model

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024

ความคิดเห็น •

  • @陳天樂-f1k
    @陳天樂-f1k หลายเดือนก่อน

    Custom Parser Model has some problems.
    I make one rule to parse the value of json files.
    My Rule:
    Reg-Pattern is: /"(MessageText|PostText|SelectionText)":"(.+)"/g
    Capture Groups: 2
    Action: Capture Value
    This rule runs "correctly" in the "Testing" page.
    But when I use it to parse untranslated files.
    There are 2 problems:
    1.Duplicate captured terms are gone.
     It makes the translated text put in the wrong sequence.
     ex: (this is the example to show what is shifted)
     ori-text -> captured -> translated -> apply
     one    one    1      one->1
     one    two    2      one->2
     two               two->''
    2.The translated text apply from the end of json.
     It makes the translated text start from the bottom node.
     ex: (this is the applied output)
     ori-text -> captured -> translated -> apply
     one    one    1      one->''
     one    two    2      one->3
     two    three   3      two->2
     three              three->1

  • @lourencevelasco333
    @lourencevelasco333 3 ปีที่แล้ว +1

    Why can't translate rmvxace type of games ?