Expand try section in 2012/kang/README.md
Added some German to try and also asked some questions both about German as well as one about Spanish. This (and in particular the German) was prompted by a brief dialogue in GitHub.
This commit is contained in:
1 parent
0e3acd6739
commit
648dd200bd
1 file changed
+25
-4
+25
-4
@@ -16,6 +16,12 @@ make
|
|||||||
echo "full spelling of an English cardinal numeral less than a quadrillion" | ./kang
|
echo "full spelling of an English cardinal numeral less than a quadrillion" | ./kang
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) changed the code to
|
||||||
|
accept the proper German for four 'vier' where before it was spelt with the
|
||||||
|
sound of V (fier not vier). But was this a bug or a feature? He's on the fence
|
||||||
|
here but he went ahead and did it anyway as it seems useful. Thank you Cody!
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -24,12 +30,27 @@ echo uno | ./kang
|
|||||||
echo trois | ./kang
|
echo trois | ./kang
|
||||||
echo vier | ./kang
|
echo vier | ./kang
|
||||||
echo "shest'" | ./kang
|
echo "shest'" | ./kang
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) changed the code to
|
How does it have no `u` or `o` in a string in the source code and yet it gets
|
||||||
accept the proper German for four 'vier' where before it was spelt with the
|
`uno` right?
|
||||||
sound of V (fier not vier). But was this a bug or a feature? He's on the fence
|
|
||||||
here but he went ahead and did it anyway as it seems useful. Thank you Cody!
|
### Also try:
|
||||||
|
|
||||||
|
For those who speak Germans:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
for i in eins zwei drei vier fuenf sechs sieben acht neun zehn elf zwoelf dreizehn ; \
|
||||||
|
do
|
||||||
|
echo "$i"|./kang;
|
||||||
|
done
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
What does it get right? What does it get wrong? Finally why does it get what it
|
||||||
|
gets wrong wrong?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|||||||
Reference in new issue
Block a user