drdhaval2785 / SanskritSorting

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

Split y- yu- ya- yā- yi- yī- yu- ye- yo- yau- #5

Closed gasyoun closed 9 years ago

gasyoun commented 9 years ago

Similar to https://github.com/drdhaval2785/SanskritNLP/issues/1 Format first lines in index sections. क ख ग Inserted on a new line above the words which start with it - done long ago.

But the other interesting feature would be to have the first or last 1-2 syllables of words (=beginning) marked. Just like Oliver has, so it’s easier to count in phonemes, than syllables: ḍhe- ḍh- ḍha- ḍhā- ḍhi- ḍhu- ḍhe- ḍho- ḍhau- ti- tṛ- t- tu- tā- ta- tā- ti- tī- tu- tṛ- te- tai- to- tau- tū- tm- ty- tr- tū- tr- tū- tr- tū- tr- tū- tv- tū- ts- tū- ū- ūk- ūc- ūṭh- ūḍh- ūt- ūd- ūdh- ūn- ūr- ūṣ- ūh- ūṃ- ha- hi- hu- h- hṛ- hā- ha- hā- hi- hī- hu- hṛ- he- hai- ho- hau- hū- hn- hū- hy- hr- hl- hv- hū- y- yu- ya- yā- yi- yī- yu- ye- yo- yau-

kjc-fs-cluster

drdhaval2785 commented 9 years ago

Reverse ? should I be showing the word ending with क When I click on it - Should I get १. ending with तक, बक, नक ? or २. ending with क, का, कि, की?

Or It should not be reverse at all ? starting with क का कि की?

gasyoun commented 9 years ago

Yes, reverse. Actually १. ending with तक, बक, नक ? and २. ending with क, का, कि, की? so both. 2 different versions. In that case you'll conver https://github.com/drdhaval2785/SanskritSorting/issues/1 as well.

drdhaval2785 commented 9 years ago

reverse20.php gives headwords now. Not exactly like oliver's, but fairly accurate. Lists only the headwords found in sorted file

gasyoun commented 9 years ago

Indeed, close to Oliver, and clickable as well. Now it is "२. ending with क, का, कि, की"

Before: | a |, | ka |, | ga |, | ca |, | ṭa |, | ṭha |, | ṇa |, | ta |, | da |, | dha |, | na |, | pa |, | ma |, | ya |, | ra |, | la |, | va |, | śa |, | ṣa |, | sa |, | ha |, | kā |, | tā |, | nā |, | yā |, | rā |, | lā |, | ṇi |, | ti |, | di |, | ri |, | li |, | si |, | ṇī |, | tī |, | dī |, | rī |, | yu |, | śu |, | hu |, | bhū |, | kṛ |, | tṛ |, | k |, | c |, | j |, | t |, | n |, | ś |, | s |, | h |,

After: -a, -ka, -ga, -ca, -ṭa, -ṭha, -ṇa, -ta, -da, -dha, -na, -pa, -ma, -ya, -ra, -la, -va, -śa, -ṣa, -sa, -ha; -kā, -tā, -nā, -yā, -rā, -lā; -ṇi, -ti, -di, -ri, -li, -si; -ṇī, -tī, -dī, -rī, -yu, -śu, -hu; -bhū; -kṛ, -tṛ; -k, -c, -j, -t, -n, -ś, -s, -h.

drdhaval2785 commented 9 years ago

Before converted to after. no problems this time. can be seen at http://drdhaval2785.github.io/devanagarisorted3.html after 20 mins

drdhaval2785 commented 9 years ago

2014-10-13_11-16-09

gasyoun commented 9 years ago

Almost perfect. Did you notice that in my list when the last letter changes I get a line break? Hard?

drdhaval2785 commented 9 years ago

Missed it earlier. Now fixed. http://drdhaval2785.github.io/devanagarisorted3.html