drdhaval2785 / SanskritSorting

Codes written by Dr. Dhaval Patel for Sanskrit Natural Language Programming
2 stars 1 forks source link

Special Case: Sort Whitney "Roots" Book #7

Open gasyoun opened 9 years ago

gasyoun commented 9 years ago

Somehow similar to sorting Palsule and Hellwig. So we have Whitney's roots in different formats. I'm not sure even the usual order is fine, so both multi and reverse is wanted.

1) https://yadi.sk/i/qscja_zMbkin9 columns, sample: √ ṛc "vide √ arc " √ ḍamb "mock" √ ṛt "pursue" √ ṛd "stir, dissolve"

2) https://yadi.sk/i/vVqrJQJZbkioD rows, sample: √ 1 ji "conquer" (apa, abhi, ava, ā, ud, nis, parā, vi, sam) √ 1 kṛ (skṛ) "make" (adhi, anu, apa, abhi, ā, upa, ni, nis, pari, pra, vi, sam) √ 1 kṛt "cut" (apa, api, ava, ud, ni, pari, pra, vi, sam) √ 1 kṣi "possess" (adhi, ā, upa, pari, sam) √ 1 lī "cling" (abhi, ava, ā, ni, pra, vi, sam)

3) http://pastebin.com/921rq4yH av, aç-1, aç-2, as-1, as-2, ah, āp

4) Different entry separator is ";" and "," is for variations inside one "nest". "Nest" should be broken, but additional data should be added. If we reverse list "inv" we should be aware it comes from "√ 2 i" background (or just add it's ID?) √ 1 i, ī, ay [-2/1; 16]; √ 2 i, inv, in; √ iṅg; √ ich; √ iṭ; √ iḍ; √ idh, indh [indh-7; 17]; √ in, inv; √ inakṣ; √ iyakṣ; √ irajy; √ iradh; √ il; √ 1 iṣ, ich [iṣ-6; 18]; √ 2 iṣ [iṣ-4; 19]; Full source for this Whitney + Bucknell file.

drdhaval2785 commented 9 years ago

Please add a * column in excel before doing copy paste to txt. This will save us a lot of trouble, rather than tricky regex.