sanskrit-lexicon / MWS

Monier Monier-Williams, Sir; A Sanskrit-English dictionary. Oxford, 1899
Other
7 stars 5 forks source link

Links to Dhātup. xix, 74 #126

Closed gasyoun closed 5 months ago

gasyoun commented 2 years ago

@funderburkjim Whitney Roots links: rāj & Westergaard Dhatupatha links are working for ages.

dhatup

But Dhātup. xix, 74, linking to the same place, is not. Fixable?

funderburkjim commented 2 years ago

The 'Westergaaard Dhatupatha' link UI element was developed before the more recent method of 'linkable targets'. These links are technically derived from special 'info' elements in the entries. For example in the rAj entry, this info element is <info westergaard="rAjf,19.74,01.0553"/>.
Generally, these elements were derived in part from the 'ls' element(s) in the entry, such as <ls>Dhātup. xix, 74</ls>. In particular the '19.74' part of the info element is consistent with the 'xix, 74' part of the ls element.

The generated Westergaard link is in this example https://www.sanskrit-lexicon.uni-koeln.de/scans/csl-westergaard/disp/index.php?section=19. Thus only the '19' part of the 'info' element is used in constructing the link. And since this '19' can be derived from the 'xix' of the ls element, it would be possible to generate the link from the ls element.

So, that is the background. Now, the question seems to be UI in nature.

Await further feedback before proceeding with revisions.

gasyoun commented 2 years ago

Should an 'ls' link at the Dhatup elements be generated?

Yes, because it's a low hanging fruit.

Should the 'Westergaard Dhatupatha links' element be removed from the display

We can always remove it. No hurry with that - let's have it, as I'm not sure if all the entries contain a link to it from inside.

Andhrabharati commented 5 months ago

This fruit is still not low enough, that @funderburkjim can put his hands on it.

funderburkjim commented 5 months ago

begin link-addition process

Stepladder obtained :)

Preliminary examination of form of Dhātup. (or Dhāt.) references. Work material in issue26 directory.

Usual form of Dhātup. reference is <ls>Dhātup. R, n</ls>, where R is lower-case roman numeral and n is integer. The link to be generated is then

https://www.sanskrit-lexicon.uni-koeln.de/scans/csl-westergaard/disp/index.php?section=X

where X is Latin letter form of R. e.g. Dhātup. v, 26 should generate link

https://www.sanskrit-lexicon.uni-koeln.de/scans/csl-westergaard/disp/index.php?section=5

Note that 'n' (e.g. 26) is not part of the link. Thus, links can be generated when 'n' is absent (e.g. <ls>Dhātup. xi</ls>).

The above changes to mw.txt in csl-orig deal with a few typos and irregular ls forms.

Andhrabharati commented 5 months ago

@funderburkjim

Here is what the parent "source" of MW [PWG] has for the two '84, 6' cases--

वेक्ष् [6-1348] वेक्ष् , वेक्षयति (दर्शने) Dhātup. 35, 84,b. — Vgl. वेक्षण und व्लेक्ष् . [ID=95135]

हिल्लोलय् [7-1629] हिल्लोलय् , °यति = हिन्दोलय् Dhātup. 35,84,h. [ID=117204]

funderburkjim commented 5 months ago

84,6 cases corrected as print changes to mw. Thanks, @Andhrabharati

funderburkjim commented 5 months ago

Link target now implemented in displays for MW. See commits above for details.

Additionally, links to Westergaard also implemented for

Two remaining related tasks:

Andhrabharati commented 5 months ago
  • Add markup in Sch. (14 instances) for links, and implement linking in displays

Speaking of this, probably you might be interested in looking at my SCH text having the ab-, lex-, lang-, hom-, bot-, zoo-, and ls- taggings done throughout (exactly two years back, but not posted for a reason).

My file has about ~3300 new ls-tags and ~350 unique new ls-entities, as compared to the CDSL file (that apparently had marked only those present in pwk).

gasyoun commented 5 months ago

might be interested in looking at my SCH text having the ab-, lex-, lang-, hom-, bot-, zoo-, and ls- taggings done throughout (exactly two years back, but not posted for a reason).

@Andhrabharati how to look at it, if not posted? Strange indeed.

Andhrabharati commented 5 months ago

I was asking if Jim would be interested to see (rather, to use!!) it, if posted.

funderburkjim commented 5 months ago

pwg dhatup changes

about 394 lines changed in pwg.txt. change_pwg_2.txt. Most of these were of form: <ls>DHĀTUP. X, Y, v. l.</ls> -> <ls>DHĀTUP. X, Y</ls>, v. l.. At some later time <ab> markup to be added to 'v. l.', there are many other abbreviations that need markup and tooltips in pwg. 'standard form' is <ls>DHĀTUP. X, Y</ls> where X, Y are digit sequences, with X being 1 to 35. (sections of Westergaard's dhatupatha.). There are a few other forms also unchanged. The change_pwg_2_unused.txt contains the 25 that are considered non-standard.

File dhatup_pwg_2.txt contains all the DHĀTUP. references identified. The 25 'non-standard' are marked with ?.

This work finishes my objectives for pwg in this issue.

funderburkjim commented 5 months ago

@Andhrabharati I intend next to add the markup for DHĀTUP. in Schmidt. Since there are only a few, probably I don't require your latest work on Sch, but it would be interesting to 'see' it, if you are inclined to share that work at this time.

funderburkjim commented 5 months ago

sch links

These are now activated and available in the Cologne displays of Schmidt. The commit links above show the changes.

dhatup_sch_2.txt indicate the instances

There are two instances that are questionable:

<L>11832<pc>162-3<k1>Kadana : Dhātup. 1, 960.
<L>13009<pc>179-2<k1>can : Dhātup. 1, 840.

There is no subsection 960 or 840 in section 1 of Westergaard, according to out edition (section 1 Westergaard). Nor are the words (Kadana, can) mentioned in section 1. Some searching in PW (and PWG) gave no resolution. So the interpretation of these two is a mystery.

funderburkjim commented 5 months ago

This is all I had in mind to do regarding this issue. Low-hanging (?) fruit now harvested. Closing issue.

Andhrabharati commented 5 months ago

There are two instances that are questionable:

<L>11832<pc>162-3<k1>Kadana : Dhātup. 1, 960.
<L>13009<pc>179-2<k1>can : Dhātup. 1, 840.

There is no subsection 960 or 840 in section 1 of Westergaard, according to out edition (section 1 Westergaard). Nor are the words (Kadana, can) mentioned in section 1. Some searching in PW (and PWG) gave no resolution. So the interpretation of these two is a mystery.

It is no mystery, if one knows the details of the original Skt. works! Probably, we can term this as 'confusing' naming.

These are not referring to the Westergaard's 'organisation' of Radices, but directly pointing to the DHĀTUP. of PĀN. itself. These roots are present in the first class (bhvAdi) at positions 960 and 840 resp.

image

image

Andhrabharati commented 5 months ago

At some later time ``markup to be added to 'v. l.', there are many other abbreviations that need markup and tooltips in pwg.

@funderburkjim If you 'fix-up' a time, I am willing to post my PWG work that has dealt with this and many other 'useful' changes that I envisaged.

Probably, it won't be a big hurdle in adopting my PWG file to CDSL (in the same way that my pwk was "taken" some time back).

Andhrabharati commented 5 months ago

@Andhrabharati I intend next to add the markup for DHĀTUP. in Schmidt. Since there are only a few, probably I don't require your latest work on Sch, but it would be interesting to 'see' it, if you are inclined to share that work at this time.

Where do you wish this to be posted (this issue is not the 'proper' place, I believe)?

funderburkjim commented 5 months ago

re where to post 'sch' latest work: Make an issue at https://github.com/sanskrit-lexicon/sch/issues

funderburkjim commented 5 months ago

Dhātup. 1, 840.

Wonderful that you solved the mystery!

We need to change the markup so that for these two, we indicate a reference to the edition of Pāṇini Dhātupāṭha. that your (private) image above shows. This edition must be from one of the German indologists. <b>Please provide a tooltip</b>.

Incidentally, there appears to be variation among editions. For instance, https://archive.org/details/TheDhatupathaOfPanini_428/page/n25/mode/2up shows a different root (not 'can') for 1-840:

image
Andhrabharati commented 5 months ago

This edition must be from one of the German indologists.

This is from none other than Boethlingk himself!!

By the time of completion of pwk (1889), his 2nd (revised/enlarged) ed. of Panini (1887) has been published; and it seems to be still 'afresh' in B.'s mind, that he was 'prompted' to cite from it instead of Westergaard!! [It may be noted that (for 'can') PWG has Westergaard 19,41, while pwk has B.'s P. (appendix) 1,840.] ------------------------------------------------- B. has 'adopted' W.'s work with a note (Google translation)--

The Dhatupatha according to N. L. Westergaard.

It is generally accepted that my late friend WESTERGAARD ​​sought to find the best sources for this Dhatupâtha attributed to our Panini.

Over time, some things may have crept into this root directory that Panini did not have; On the other hand, it can hardly be assumed that roots would have fallen out or would have come into a different order. The order within the ten classes, which is based on the artificial but grammatically significant accent of the root and the vowel attached to it, is often interrupted in such a way that roots that belong to one another in a different grammatical relationship, despite their different accents, have the same relationship the accent roots are in the right place. I have included the variants in brackets, omitting the authorities on which they are based; I have left Vopadeva's deviations unconsidered because this grammarian does not belong to the school of Pânini.

In order to make it easier to find them in the Dhatupatha in the following alphabetical list of roots, I have interspersed them with consecutive numbers within the ten classes. When I started printing, I was only able to use the Dhâtuvrtti of Madhava that appears in the Pandit until the end of the 1st class.

[I've split this into 3 paragraphs for better understanding.]

Andhrabharati commented 5 months ago

Incidentally, there appears to be variation among editions.

We can discuss on the variations among various editions (of nearly all the Indic texts) elsewhere, if the 'real' need comes (at sometime).

funderburkjim commented 5 months ago

Revised coding

OLD
<ls>Dhātup. 1, 960</ls>
NEW
<ab n="DHĀTUPĀṬHA">Dhātup.</ab> <ls n="DhātupB.">1, 960.</ls>

and similarly for the other.

Note; Enjoyed the background of B's DHĀTUPĀṬHA.

Goodbye again to this issue.