Gives the base word score for a string in scrabble.
Usage
sws(w,only.possible=TRUE,check.valid=FALSE)
Arguments
w
Word or vector of words
only.possible
Default=TRUE Only consider scores that are possible based on the distribution of scrabble letters.
For example "zzz" would score 30 if it weren't for the fact that there is only 1 'z'
necessitating the use of 2 blanks, for a real score of 10.
check.valid
Default=FALSE When TRUE returns a score of 0 for words not in the TWL06 dictionary.
Value
Returns a vector of values for the word score of each word passed in.