Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Bug in migaku syntax

    Migaku Anki Addon
    2
    2
    57
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wzinato last edited by

      I have my main sentence mining deck all made with old migaku add-ons and syntax configs, which was normally functioning showing the parse and coloring correctly. After I update for the new version of the add-ons, all my cards with the old migaku note type are with the syntax/coloring messed up, as it shows in the first print. This is after I tryed to remove the syntax from all my cards on this deck from all fields ("sentence", "definitions" and "target word" were with syntax added) and then add just to the sentence field. If I add to other fields besides "sentence", the bug occurs just as shows in the second print.
      b3bfecaa-75ae-4804-ae72-52666e2b8b15-image.png
      7b6c5823-0df2-4459-98df-879d26e56426-image.png

      For example, the sentence without syntax is: それに神様っていうのは 結構 大ざっぱな連中なんだ
      With syntax added is: それに[;h] 神様[かみさま;a] っていう の は  結構[けっこう;a]  大[おお;n3]ざっぱ な 連中[れんちゅう;h] なん だ

      If I remove manually one space before 結構[けっこう;a] and 大[おお;n3]ざっぱ, in the sentence field for example ( それに[;h] 神様[かみさま;a] っていう の は 結構[けっこう;a] 大[おお;n3]ざっぱ な 連中[れんちゅう;h] なん だ), the syntax/coloring seems to be fixed, as it shows in the third print.

      c091fa25-dac7-4fe2-b88b-6e998c19085c-image.png

      So it seems to be the space before a word messing up all the coloring. The problem is that it is a whole lot of cards with this problem which was not occuring with the old syntax from the legacy migaku anki add-on (the last version without having to update the anki a few days ago).

      Not only that, but I tested with some random subtitle lines from a local file which I was mining before the update and all running ok, and even with the new migaku note type ("migaku sentence" instead of "migaku japanese sentence") and the exact same problem occurs when a word have (has? Not very good english) a space before it, as it shows in the last print.
      c400335c-83a6-49cf-be07-9169b47b1041-image.png

      If you manually create a card with the same sentence manually, without any space, the syntax turns out fine. The problem is that basically every subtitle of every content have a space between words here and there.

      Anki 2.1.49 (dc80804a)⁩
      Migaku browser add-on version: 0.9.9.2
      Migaku anki add-on: 0.1.0-alpha.17
      Migaku kanji add-on (not sure if it's necessary): 1.0.0-beta.12
      Migaku MPV version: V0.7.3
      Windows 10 pro 10.0.19043 compilation 19043

      SteviMigaku 1 Reply Last reply Reply Quote 0
      • SteviMigaku
        SteviMigaku @wzinato last edited by

        @wzinato
        Bent is aware of this issue and will fix it with the next update.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post