Page MenuHomePhabricator

SimSik: fix tonal mark for POJ
Closed, ResolvedPublic

Description

POJ has different rules compared to TL for tonal marks.

Event Timeline

iongchun created this task.Jun 21 2017, 9:40 PM
  1. Prefer good-looking
  2. Two vowels: mark first vowel, except i, or followed by tails (except ⁿ)
  3. Three vowels: second vowel, never i
iongchun added a comment.EditedJun 26 2017, 1:12 PM

Generalized:

N: number of vowels, position: 0~N-1

If followed by after (excepts nn) or glotal, prefer begin
Odd:

  1. Start from N/2 = (N-1)/2
  2. -1, +1, -2, +2, ...

Even:

  1. Start from (N-1)/2
  2. +1, -1, +2, -2, ...

Not followed by after (excepts nn) or glotal, prefer end
Odd:

  1. Start from N/2 = (N-1)/2
  2. +1, -1, +2, -2, ...

Even:

  1. Start from N/2
  2. -1, +1, -2, +2, ...