{"action":"created","issue":{"url":"https://api.github.com/repos/funderburkjim/MWderivations/issues/6","repository_url":"https://api.github.com/repos/funderburkjim/MWderivations","labels_url":"https://api.github.com/repos/funderburkjim/MWderivations/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/funderburkjim/MWderivations/issues/6/comments","events_url":"https://api.github.com/repos/funderburkjim/MWderivations/issues/6/events","html_url":"https://github.com/funderburkjim/MWderivations/issues/6","id":167452350,"number":6,"title":"Using Implied headwords for derivation","user":{"login":"funderburkjim","id":6393033,"avatar_url":"https://avatars.githubusercontent.com/u/6393033?v=3","gravatar_id":"","url":"https://api.github.com/users/funderburkjim","html_url":"https://github.com/funderburkjim","followers_url":"https://api.github.com/users/funderburkjim/followers","following_url":"https://api.github.com/users/funderburkjim/following{/other_user}","gists_url":"https://api.github.com/users/funderburkjim/gists{/gist_id}","starred_url":"https://api.github.com/users/funderburkjim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funderburkjim/subscriptions","organizations_url":"https://api.github.com/users/funderburkjim/orgs","repos_url":"https://api.github.com/users/funderburkjim/repos","events_url":"https://api.github.com/users/funderburkjim/events{/privacy}","received_events_url":"https://api.github.com/users/funderburkjim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-25T20:01:25Z","updated_at":"2016-07-25T20:11:20Z","closed_at":null,"body":"Although not mentioned (I think) in the lengthy explanation of #2,  all of the derivation methods make\r\nuse of a certain python dictionary structure  `hwcpd_dict`.  \r\n\r\nFor instance, in the `cpd1` analysis of `aMSa-karaRa`:\r\n```\r\n1. notice that aMSa is the parent.\r\n2. search hwcpd_dict for 'karaRa'.   Since it is found, the cpd1 derivation of aMSa-karaRa succeeds.\r\n```\r\n\r\nNext, consider the `cpd1` analysis of `kumBa-stanI`:\r\n```\r\n1. Notice that kumBa is the parent. Good.\r\n2. Search hwcpd_dict for stanI.  Success or Failure?\r\n```\r\nWhether the search for `stanI` succeeds or fails depends on important details regarding the\r\n`hwcpd_dict` dictionary.  \r\n\r\nThe most basic construction of `hwcpd_dict` is to include the `key1` spellings of all (nominal or indeclineable) entries of the MW dictionary.   Under this construction, `stanI` would NOT be found,\r\nsince this word is only mentioned under the headword `stana` as a feminine form (along with `stanA`) which occurs *ifc* (at the end of compounds).   Thus, with this basic view of what should be included among the *known* words, `kumBa-stanI` would remain unresolved.\r\n\r\nThis example shows that, in order to make greater headway in derivations of words in MW, we are advised to include many *implied* words.\r\n\r\nCurrently, there is a facility in analysis2.py for augmenting the coverage of `hwcpd_dict`,  by manually\r\nasserting (in effect, for our example):\r\n```\r\nhwcpd_dict['stanI'] = <the record for stana>\r\n```\r\nWith this augmentation, the derivation of our `kumBa-stanI` example succeeds:\r\n```\r\n3\t52566\tkumBastanI\tkumBa-stanI\tf\tkumBa-stanI\tDONE\tcpd1\r\n```\r\n\r\nThere are several steps currently in this augmentation, all of which may be found by examining\r\nthe `init_hwcpd_dict` function.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/funderburkjim/MWderivations/issues/comments/235069728","html_url":"https://github.com/funderburkjim/MWderivations/issues/6#issuecomment-235069728","issue_url":"https://api.github.com/repos/funderburkjim/MWderivations/issues/6","id":235069728,"user":{"login":"funderburkjim","id":6393033,"avatar_url":"https://avatars.githubusercontent.com/u/6393033?v=3","gravatar_id":"","url":"https://api.github.com/users/funderburkjim","html_url":"https://github.com/funderburkjim","followers_url":"https://api.github.com/users/funderburkjim/followers","following_url":"https://api.github.com/users/funderburkjim/following{/other_user}","gists_url":"https://api.github.com/users/funderburkjim/gists{/gist_id}","starred_url":"https://api.github.com/users/funderburkjim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funderburkjim/subscriptions","organizations_url":"https://api.github.com/users/funderburkjim/orgs","repos_url":"https://api.github.com/users/funderburkjim/repos","events_url":"https://api.github.com/users/funderburkjim/events{/privacy}","received_events_url":"https://api.github.com/users/funderburkjim/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T20:11:20Z","updated_at":"2016-07-25T20:11:20Z","body":"The printed derivation shown above has the weakness of obscuring the fact that there is no `stanI` headword in MW;  to explore the derivation components, we must know to look at the `stana` headword.\r\n\r\nImproving this aspect of the derivation probably requires a more elaborate derivation syntax.  In the\r\ncase at hand, it might be something like\r\n```\r\nkumBa-[stanI,stana,f.]\r\n```\r\n\r\nHowever, I have noticed that there are other kinds of augmentation that are needed.\r\n\r\nFor instance, consider `a-carat`, where `carat` is the present participle of the verb `car`.  Since `carat` is not provided as a headword in MW, the only way we can get a derivation is by included `carat` as an augment. Then the derivation might be\r\n```\r\na-[carat,car,prap]\r\nwhere 'prap' designates that the 'prap' (present active participle) function has been applied to the \r\nroot car.\r\n```\r\n"}}
{"actor":{"display_login":"funderburkjim"}}