Sunday 4 October 2020

Reducing lists of exceptions (wcr)

 It's always nice when things stick together better. In the programming world we call this coherence. Contrast this with incoherence, (unrelated to Charles Williams' theological co-inherence). I have just been verifying the rules about converting hireq to i and it turns out several of them were too tight. 

The general rule is that a stem that contains yod allows hireq by default and a few do not. A stem that does not contain yod does not render hireq by default and a large number are exceptions. That large number of exceptions is becoming larger as I loosen some of the rules. Some rules are loosened because the stem is rarely used so its full variety is not in the text. Some are loosened because the restriction to a specific form is not required. It remains to be seen if the strategy is optimal.

The reduction in exceptions to the exceptions was dramatic. I was able to test them with a simple concatenation of rules and then weed out the ones that really needed the rule. 109 stems with exceptions based on prefix reduced to 15. Talk about being too careful in earlier stages of the project.

The number of stems that allow i and do not themselves contain a yod is now 427. Two months ago according to my last post on this subject, it appears to have been only 93. In contrast at present, the number of stems that contain a yod and yet do not render hireq is merely 7. This has remained quite stable as more test data is added.

Another example drawn out from this mix: w-c-r, another word with multiple connotations depending on the context or the whim of the translator :). Isn't it interesting that strong drink and economy are the same stem.

This one retains its exceptions to the exception and allows hireq to be rendered as i only when the word form has neither suffix or prefix, or it has a suffix, or the prefix is c, or l. It will also interpret the tsere as i for the word form with neither suffix or prefix and there is a qamats in the word. This being highly specific, I expect I could not loosen the test any further.

ReferenceCountword formmorphunpointedSim wordWLC wordDomaintranslation
Psalms 107:27(3)(2)cwcvrc/wcvrcwicvrcwicorכַּשִּכּוֹר Eat
כשכור as if intoxicated
Job 12:25(6)(2)cwcvrc/wcvrcwicvrcwicorכַּשִּכּוֹר Eat
כשכור as if intoxicated
1 Samuel 1:13(14)(1)lwcrhl/wcr\hlwicorhlwicorhלְשִכֹּרָה Eat
לשכרה she was intoxicated
Haggai 1:6(10)(1)lwcrhl/wcr\h-lwvcrh-lwocrh־לְשָכְרָה Eat
לשכרה intoxication
Jeremiah 51:7(6)(1)mwcrtm/wcr\tmwcrtmwcrtמְשַכֶּרֶת Eat
משכרת intoxicating
Nahum 3:11(3)(1)twcrit/wcr\itwcritwcriתִּשְכְּרִי Eat
תשכרי drunken
Lamentations 4:21(12)(1)twcrit/wcr\itwcritwcriתִּשְכְּרִי Eat
תשכרי you will be intoxicated
1 Samuel 1:14(6)(1)twtcrint/wcr\intwtcrintwtcrinתִּשְתַּכָּרִין Eat
תשתכרין will you be intoxicated
Judges 13:14(9)(1)vwcrv/wcrvwicrvwicrוְשֵכָר Eat
ושכר and strong drink
1 Samuel 1:15(11)(1)vwcrv/wcrvwicrvwicrוְשֵכָר Eat
ושכר nor strong drink
Judges 13:4(7)(2)vwcrv/wcrvwicrvwicrוְשֵכָר Eat
ושכר or strong drink
Judges 13:7(11)(2)vwcrv/wcrvwicrvwicrוְשֵכָר Eat
ושכר or strong drink
Song 5:1(20)(1)vwcrvv/wcr\vvwcrvvwcruוְשִכְרוּ Eat
ושכרו and be intoxicated
Jeremiah 51:57(1)(1)vhwcrtivh/wcr\tivhwcrtivhwcrtiוְהִשְכַּרְתִּי Eat
והשכרתי and I will make drunk
Jeremiah 51:39(5)(1)vhwcrtimvh/wcr\timvhwcrtimvhwcrtimוְהִשְכַּרְתִּים Eat
והשכרתים and I will make them drunk
Micah 2:11(10)(1)vlwcrvl/wcrvlwicrvlwicrוְלַשֵּכָר Eat
ולשכר and strong drink
1 Samuel 25:36(16)(1)wcrwcrwicorwicorשִכֹּר Eat
שכר was intoxicated
Psalms 69:13(7)(1)wcrwcrwicrwicrשֵכָר Eat
שכר -ards
Proverbs 20:1(4)(2)wcrwcrwicrwicrשֵכָר Eat
שכר strong drink
Proverbs 31:4(10)(2)wcrwcrwicrwicrשֵכָר Eat
שכר strong drink
Habakkuk 2:15(7)(1)wcrwcrwcrwcrשַכֵּר Eat
שכר strong drink
Proverbs 31:6(2)(1)wcrwcr-wicr-wicr־שֵכָר Eat
שכר strong drink
1 Kings 20:16(6)(2)wcvrwcvrwicvrwicorשִכּוֹר Eat
שכור drunk
1 Kings 16:9(11)(2)wcvrwcvrwicvrwicorשִכּוֹר Eat
שכור drunk
Proverbs 26:9(4)(1)wcvrwcvr-wicvr-wicor־שִכּוֹר Eat
שכור a drunkard
Joel 1:5(2)(1)wcvrimwcvr\imwicvrimwicorimשִכּוֹרִים Eat
שכורים boozers
Psalms 72:10(9)(1)awcra/wcrawcrawcrאֶשְכָּר Economy
אשכר with wages
Job 14:6(6)(1)cwcirc/wcrcwcircwcirכְּשָכִיר Economy
כשכיר as a mercenary
1 Chronicles 19:6(15)(1)lwcrl/wcrlwcvrlwcorלִשְכֹּר Economy
לשכר to hire
Ruth 2:12(5)(1)mwcrtcm/wcr\tcmwcvrtçmwcurtçמַשְכֻּרְתֵּךְ Economy
משכרתך your wages
Haggai 1:6(16)(1)mwtcrmwt/crmwtcrmwtcrמִשְתַּכֵּר Economy
משתכר earns a wage
Proverbs 26:10(6)(2)vwcrv/wcrvwvcrvwocrוְשֹכֵר Economy
ושכר and the wage of
Proverbs 26:10(4)(2)vwcrv/wcrvwvcrvwocrוְשֹכֵר Economy
ושכר and the wage of
1 Kings 5:20(12)(1)vwcrv/wcrvwcruwcrוּשְכַר Economy
ושכר and wage for
Zechariah 8:10(9)(1)vwcrv/wcrvwcruwcrוּשְכַר Economy
ושכר nor wage for
Job 7:2(4)(1)vcwcirvc/wcrvcwcirucwcirוּכְשָכִיר Economy
וכשכיר and like a mercenary
Haggai 1:6(15)(1)vhmwtcrvhmwt/crvhmwtcrvhmwtcrוְהַמִּשְתַּכֵּר Economy
והמשתכר and the one who earns a wage
Judges 9:4(8)(1)viwcrvi/wcrviwcvrviwcorוַיִּשְכֹּר Economy
וישכר and contracted
2 Chronicles 25:6(1)(1)viwcrvi/wcrviwcvrviwcorוַיִּשְכֹּר Economy
וישכר and he contracted
Judges 18:4(8)(1)viwcrnivi/wcr\niviwcrniviwcrniוַיִּשְכְּרֵנִי Economy
וישכרני and he has hired me
1 Chronicles 19:7(1)(1)viwcrvvi/wcr\vviwcrvviwcruוַיִּשְכְּרוּ Economy
וישכרו and they hired
Job 7:1(7)(1)wcirwc\irwcirwcirשָכִיר Economy
שכיר a mercenary
Malachi 3:5(13)(1)wcirwc\ir-wcir-wcir־שָכִיר Economy
שכיר the wage-earner
Zechariah 8:10(5)(2)wcrwcrwcrwcrשְכַר Economy
שכר the wage of
Malachi 3:5(12)(2)wcrwcrwcrwcrשְכַר Economy
שכר the wage of
Proverbs 11:18(7)(1)wcrwcrwcrwcrשֶכֶר Economy
שכר earns
2 Kings 7:6(18)(1)wcrwcrwcrwcrשָכַר Economy
שכר has hired
Psalms 127:3(5)(3)wcrwcrwcrwcrשָכָר Economy
שכר a wage
2 Chronicles 15:7(8)(3)wcrwcrwcrwcrשָכָר Economy
שכר a wage
Qohelet 4:9(8)(3)wcrwcrwcrwcrשָכָר Economy
שכר a wage
Qohelet 9:5(12)(1)wcrwcrwcrwcrשָכָר Economy
שכר wage
Jonah 1:3(14)(1)wcrhwcr\hwcrhwcrhשְכָרָהּ Economy
שכרה her fare
Zechariah 11:12(7)(1)wcriwcr\iwcriwcriשְכָרִי Economy
שכרי my wage
Zechariah 11:12(13)(1)wcriwcr\i-wcri-wcri־שְכָרִי Economy
שכרי my wage
2 Chronicles 24:12(11)(1)wcrimwcr\imwvcrimwocrimשֹכְרִים Economy
שכרים hiring
1 Chronicles 26:4(10)(1)vwcrv/wcrvwcrvwcrוְשָכָר Person
ושכר and Wage
1 Chronicles 11:35(3)(1)wcrwcr-wcr-wcr־שָכָר Person
שכר Wage


No comments:

Post a Comment