Displaying 2 results from an estimated 2 matches for "x5dc".
Did you mean:
05dc
2010 Dec 07
1
Encoding problem - I fails to read Hebrew text from online
...mplete/search?output=toolbar&q=%d7%a9%d7%9c%d7%95%d7%9d
# By using this command:
readLines(u)
And no matter what variation I tried, I keep getting this output:
[1] "<?xml version=\"1.0\"?><toplevel><CompleteSuggestion><suggestion
data=\"שלום\"/>< (etc...)
Instead of this output:
<?xml version="1.0"?><toplevel><CompleteSuggestion><suggestion
data="שלום"/><num_queries
int="16800000"/></CompleteSuggestion><CompleteSuggestion><sug...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...s.character(TABLE[i,1]),
as.character(TABLE[i,2]))
}
return(STRING)
}
HTML_heb_decode <- function(STRING, TABLE = translation.table.Hebrew)
{
STRING <- turn_nohash(STRING)
STRING <- translate.all.chars(STRING, TABLE)
return(STRING)
}
# example of use:
inp <- "שלום"
HTML_heb_decode(inp)
inp <- "שלום חנוך\ "
HTML_heb_decode(inp)
ourput:
> HTML_heb_decode(inp)
Loading required package: stringr
Loading required package: plyr
[1] "?...