search for: doccorpus

Displaying 1 result from an estimated 1 matches for "doccorpus".

Did you mean: dictcorpus
2009 Nov 03
1
Can't pass file name as parameter to Corpus function
...ot;C:\\Temp\\readme.txt". I also checked the URI when I was debugging the function and the URI is also "strFileName" rather than "C:\\Temp\\readme.txt". strFileName <- "C:\\Temp\\readme.txt" docURISource = URISource(strFileName, encoding = "UTF_8") docCorpus = Corpus(docURISource) So it seems when running interactively the URI contains strFileName as a variable but when called as a function, the URI contains strFileName as the actual value. Can anybody point out what's the problem? thanks in advance!! Jianli -- View this message in context: htt...