| Home | Note: The purpose of this web page is to provide a “fill-in-the-blanks” approach to creating a new web page by directly editing the HTML with lots of help from ?? functions / templates. |
(Tested using IE7, IE8, IE11 and Firefox 25)
1. Select the SampleAnsiHtml function and then click the associated (Apply selected function to selected text) button.
2. Check either the “Text only” or the “All” option.
3. Select the ConvertAnsiHtmlToUnicode function and then again click the associated button.
The “8 changes made” alert message may be explained as follows: 7 items of the changes count are obvious, but the other one is not so obvious. It results from the fact that changing 1 3/4 to 1¾ was counted as 2 changes.
1. Using one of the 4 function selectors, select SkeletonWebPage and then click the corresponding button.
2. Check the “All” option.
3. Using a different selector than the one used in step #1, select the MoveRight function and click the corresponding button.
1. For a slight variation of the preceeding example, click the SkeletonWebPage button again, but this time select (highlight) a small portion of the text.
2. Again click the MoveRight button and note the more localized effect.
TIP: can be used in the unconverted search string as a shortcut meaning “Anything can go here.”
For complete documentation on Regular Expressions, see:
http://ashutoshsaxena.tripod.com/jstut/quickstart/ch080.html.
Each word of the selected text is compared to either one or two word lists. If the particular word appears on a list of 1100 common English words/HTML reserved words, then no further action is taken for that particular word. If it doesn’t, then it is compared to a 2nd list of words: A list of 94,000 Sanskrit words! If it is found on the 2nd list, then diacritics are added.
The list of Sanskrit words was obtained by extracting those Sanskrit words which contain diacritics from 4671 HTML files on http://causelessmercy.com/. Those HTML files included Srila Prabhupada’s unchanged books, his tape transcriptions, and the Vaisnava Songbook. Although some additional words were added manually later on, almost all of the words were extracted using a completely automated process.
Many words can have the diacritics added in more than one way. For example, Krsna could be Krsna or Krsna, but since Krsna is more common, that’s the version which was selected. Sometimes a particular Sanskrit word appears with diacritics, but it appears more often without diacritics. In such a case, the word was not selected for inclusion in the list.
| Home | THIS WEB PAGE URL: http://Pratyatosa.com/?P=7c |