Skip to content

Instantly share code, notes, and snippets.

@juananpe

juananpe/maiztasuna.R Secret

Created Jan 5, 2020
Embed
What would you like to do?
Euskarazko testuen hizkien maiztasuna kalkulatzeko R script-a
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