Closed se-sss closed 12 months ago
curRel=rkSon prevRel=rkWifeFather prevprevRel=rkWife finRel=rkBrotherInLaw_W
I found the problem, it is not in this algorithm at all and not even in GK. In 3-4 hours, as soon as possible, I will make commits.
The problem is in the EnumSet class from my BSLib library. Although the class is designed for ulong (64bit), mistakes were made in a couple of places and the maximum fit was 32bit. Because of this, and also because of recent improvements with the replenishment of types of relationships, some of them no longer fit in the container. I was lucky - I introduced two new rules to detail the current situation and was very surprised when I found that they did not work at all. Then it got easier...
Have you checked? Does it work correctly in your case or is it still wrong?
I have
KKK - племянник F, А жека MMMM я бы ожидал
Так выдаёт старая версия И это правильно
But according to the definition, an aunt's husband is an uncle, even if not his own, so I did it
I'm afraid that the difference in the perception of definitions will constantly create problems)))
Probably. Never heard idea that husband of aunt is also my uncle.
А на улице так половина прохожих - дяди
Probably. Never heard idea that husband of aunt is also my uncle.
Wiki. And in my family, the husband of my own aunt was an uncle, and I was his nephew. At least in everyday communication.
Вообще, по хорошему эта штука должна подлежать ещё и локализации. Я как-то раз пересекался с китайцем в универе. У них там, например, брат старший и брат младший - это принципиальная разница и разное слово.
Постепенная работа в этом плане идет. Недавно, например, для локализации на исландский были разделены пресловутые дяди и тети: как мне сообщили, обобщенные слова в исландском есть конечно, но нативными являются раздельные термины брат/сестра матери/отца. Вчера вот ввел дядя/тетя как муж тетки/жена дяди. Если такие неродные термины плохо применимы, в локализации их можно детализировать. Вот племянник/племянница всё равно останутся как есть.
Sample.zip
Check KKKKKKK and MMMMMM