diff --git a/2012/kang/.entry.json b/2012/kang/.entry.json index 88f5c9db8..21f2d437b 100644 --- a/2012/kang/.entry.json +++ b/2012/kang/.entry.json @@ -53,14 +53,6 @@ "display_via_github" : true, "entry_text" : "English words script for 1 through 13" }, - { - "file_path" : "try.alt.sh", - "inventory_order" : 100, - "OK_to_edit" : true, - "display_as" : "shellscript", - "display_via_github" : true, - "entry_text" : "script to try alternate code" - }, { "file_path" : "try.sh", "inventory_order" : 100, diff --git a/2012/kang/index.html b/2012/kang/index.html index 74d1fbbed..aefae87f8 100644 --- a/2012/kang/index.html +++ b/2012/kang/index.html @@ -410,8 +410,6 @@ Location: KR - Republic of Korea (

To build:

    make
-

There is alternate code which fixes some German at the expense of other German. -See Alternate code below for the (fun) rationale here.

To use:

    echo "full spelling of an English cardinal numeral less than a quadrillion" | ./kang

Try:

@@ -422,32 +420,6 @@ See Alternate code below for the (fun) rationale h ./de.sh # German 0 through 13 with both umlauts and without (additional 'e')

How does it have no u or o in a string in the source code and yet it gets uno right?

-

Alternate code:

-

This alternate code fixes the program that would throw off those who know German -where the sound of ‘V’ is ‘F’ and so the program had the letter be ‘F’. A -problem, however, with changing it is that it breaks other words including in -German. Thus there is the alternate version instead which fixes a problem for -Germans that causes problems for Germans so if you’re German you’ll just have to -deal with it :-) It also breaks other words too and this happens only for one -letter change. With this one should hopefully be able to really appreciate the -subtlety of this entry even more.

-

Alternate build:

-
    make alt
-

Alternate use:

-
    echo "full spelling of an English cardinal numeral less than a quadrillion" | ./kang.alt
-
-    echo vier | ./kang.alt
-
-    echo uno | ./kang.alt
-

Alternate try:

-
    ./try.alt.sh # try various languages
-
-    ./en.alt.sh # English 0 through 13
-
-    ./de.alt.sh # German 0 through 13 with both umlauts and without (additional 'e')
-

What does it get right? What does it get wrong? How does it compare to the -original entry without the change of f to v?

-

Finally why does it get wrong what it gets wrong?

Judges’ remarks:

The judges were able to appreciate the Indo-European language family relation by making this entry successfully recognize some French, @@ -460,6 +432,9 @@ colloquial year numbers of the last millennium.

correctly reports 500 but:

    echo hundr|./kang

does not report 100, instead printing 0?

+

Also, can you get the program to use the proper V in German instead of F, +for vier (four)? In other words, can you get it to use vier instead of +fier? What happens if you do do this?

Author’s remarks:

Synopsis

This short program reads a spelt number (e.g. forty-two) and writes a @@ -591,13 +566,9 @@ proof-reading remarks.

Secondary files