SCM

SCM Repository

[tm] View of /trunk/tm/R/stopwords.R
ViewVC logotype

View of /trunk/tm/R/stopwords.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 719 - (download) (annotate)
Sun Mar 18 09:24:47 2007 UTC (12 years, 4 months ago) by feinerer
File size: 486 byte(s)
Improved database support.
stopwords <- local({
      english <- readLines(system.file("stopwords", "english.dat", package = "tm"))
      german <- readLines(system.file("stopwords", "german.dat", package = "tm"))
      french <- readLines(system.file("stopwords", "french.dat", package = "tm"))
      function(language = "en") {
          resolved <- resolveISOCode(language)
          lang <- if (is.null(resolved))
              language
          else
              resolved
          get(lang)
      }
   })

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge