-
-
Save juananpe/2405f026e8aa5f7b6b91fd1c70e1ea95 to your computer and use it in GitHub Desktop.
Euskarazko testuen hizkien maiztasuna kalkulatzeko R script-a
This file contains 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
singleString <- paste(readLines("euwiki/wikipedia-extractor/garbia.xml"), collapse=" ") | |
table(strsplit(tolower(gsub("[^[:alpha:]]", "", singleString )), "")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment