Created
December 18, 2011 22:27
-
-
Save emres/1494671 to your computer and use it in GitHub Desktop.
Language detection in Bash command line - Norvig's problematic example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(echo `cat some_de.txt EN | gzip | wc -c` EN; \ | |
echo `cat some_de.txt DE | gzip | wc -c` DE) \ | |
| sort -n | head -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment