[GH-ISSUE #1620] [Feature]: relationship-tracker: support Korean (agglutinative) particles in persona perception validation #1608

Closed
opened 2026-10-25 04:01:59 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @baekjee on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1620

Originally assigned to: @SpicyMarinara on GitHub.

First of all, thank you so much for building Marinara Engine! It is hands-down my favorite engine, and I've been loving it for all my Korean roleplay sessions.

I was really excited to start using Relationship Tracker in my Korean chats, but I couldn't even get past setting it up via "Update from History" because of a language-specific limitation in the persona perception validation.

The validation assumes words are space-separated, which works great for English, but in Korean, grammatical particles (조사, such as 은/는/이/가/을/를) are attached directly to the noun/name without a space. Because of this, a natural Korean sentence like "김OO은 박OO을 좋아한다" fails validation.

This was especially confusing to figure out because the model's auto-generated suggestions are grammatically perfect Korean — with particles attached directly to the names as they should be. Since the generated text looked completely valid, it took me a really long time before I could even use the tracker just to figure out why "Update from History" couldn't save the suggestions on its own and why clicking Save kept failing.

Describe the solution you'd like

Ideally, the "must begin with the character's name" check (and the persona name mention check) would allow attached Korean particles or non-space word boundaries for agglutinative languages, so natural sentences like "김OO은 박OO을..." can pass validation without requiring an artificial space after each name.

If full support for Korean particles isn't feasible right now, could you consider adding a brief hint or clearer validation guidance (for example, noting that a space is required after the character/persona name)? That alone would save Korean users a lot of time and confusion when trying the tracker for the first time!

Describe alternatives you've considered

  • Manually inserting a space between the name and the particle ("김OO 은 박OO 을") works as a workaround and lets it save, though it reads unnaturally in Korean.

Additional context

Looking at the validation regex (?=$|[^\p{L}\p{N}_]), Korean particles (은/는/이/가/을/를) are matched as \p{L}, so "김OO은" is treated as a single different word rather than the name "김OO" followed by a particle. This likely affects other agglutinative or non-spaced scripts (like Japanese) as well.

Thank you again for all your hard work on Marinara Engine!

Originally created by @baekjee on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1620 Originally assigned to: @SpicyMarinara on GitHub. First of all, thank you so much for building Marinara Engine! It is hands-down my favorite engine, and I've been loving it for all my Korean roleplay sessions. ## Is your feature request related to a problem? Please describe. I was really excited to start using **Relationship Tracker** in my Korean chats, but I couldn't even get past setting it up via "Update from History" because of a language-specific limitation in the persona perception validation. The validation assumes words are space-separated, which works great for English, but in Korean, grammatical particles (조사, such as 은/는/이/가/을/를) are attached directly to the noun/name without a space. Because of this, a natural Korean sentence like "김OO은 박OO을 좋아한다" fails validation. This was especially confusing to figure out because the model's auto-generated suggestions are grammatically perfect Korean — with particles attached directly to the names as they should be. Since the generated text looked completely valid, it took me a really long time before I could even use the tracker just to figure out why "Update from History" couldn't save the suggestions on its own and why clicking Save kept failing. ## Describe the solution you'd like Ideally, the "must begin with the character's name" check (and the persona name mention check) would allow attached Korean particles or non-space word boundaries for agglutinative languages, so natural sentences like "김OO은 박OO을..." can pass validation without requiring an artificial space after each name. If full support for Korean particles isn't feasible right now, could you consider adding a brief hint or clearer validation guidance (for example, noting that a space is required after the character/persona name)? That alone would save Korean users a lot of time and confusion when trying the tracker for the first time! ## Describe alternatives you've considered - Manually inserting a space between the name and the particle ("김OO 은 박OO 을") works as a workaround and lets it save, though it reads unnaturally in Korean. ## Additional context Looking at the validation regex `(?=$|[^\p{L}\p{N}_])`, Korean particles (은/는/이/가/을/를) are matched as `\p{L}`, so "김OO은" is treated as a single different word rather than the name "김OO" followed by a particle. This likely affects other agglutinative or non-spaced scripts (like Japanese) as well. Thank you again for all your hard work on Marinara Engine!
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

@NoblezDomain

<!-- gh-comment-id:6369849094 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): @NoblezDomain
Author
Owner

@NoblezDomain commented on GitHub (Oct 23, 2026):

@baekjee will send this to the Pasta team today, and it should be in staging as soon as Mari allows it

<!-- gh-comment-id:6372056290 --> @NoblezDomain commented on GitHub (Oct 23, 2026): @baekjee will send this to the Pasta team today, and it should be in staging as soon as Mari allows it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1608
No description provided.