ispras / lingvodoc-react

Apache License 2.0
7 stars 11 forks source link

Phonology: 2d/3d formant plot color mismatch #1082

Closed myrix closed 7 months ago

myrix commented 7 months ago

Users report a mismatch between colors in 2d and 3d formant plots for certain phonologies.

As reported, computing phonology on http://lingvodoc.ispras.ru/dictionary/3104/11/perspective/3104/12/view gives 2d formant plot (from 2_КЛМ.xlsx) image with blue, brown and green represent vowels i, e and u, while at 3d formant plot 2_КЛМ these colors represent e, u and i.

It would be better if the same vowels would be represented by the same colors on 2d and 3d formant plots.

It might be that the problem is because of vowel ordering mismatch, and would go away if we fix order of vowels in 3d plot to be the same as in 2d plot.

myrix commented 7 months ago

To reproduce the issue with the current (2023.11.29) data, open /dictionary/3104/11/perspective/3104/12/view and compute phonology with all the default options except for choosing only "Sound КЛМ" tier, photo_2023-11-28_11-22-12 as reported by the users.

There is a mismatch on the blue and brown colors (i, u in 2d, u, i in 3d): image Dictionary of the Purowski (Pur) dialect of Forest Nenets (villa - Lexical Entries - 2023 11 29

myrix commented 7 months ago

Implemented matched ordering of 3d vowel data.

3d vowel data and 3d vowel formant plot are now in the same order as 2d vowel data and plot, and colors now match: Dictionary of the Purowski (Pur) dialect of Forest Nenets (villa - Lexical Entries - 2023 11 29