SCM

SCM Repository

[tm] Diff of /pkg/R/corpus.R
ViewVC logotype

Diff of /pkg/R/corpus.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1376, Wed May 21 14:36:35 2014 UTC revision 1377, Wed May 21 17:15:56 2014 UTC
# Line 202  Line 202 
202      filehash::dbMultiFetch(db, unlist(x$content))      filehash::dbMultiFetch(db, unlist(x$content))
203  }  }
204    
 length.PCorpus <- length.VCorpus <-  
 function(x)  
     length(x$content)  
   
205  inspect <-  inspect <-
206  function(x)  function(x)
207      UseMethod("inspect", x)      UseMethod("inspect", x)
# Line 218  Line 214 
214      invisible(x)      invisible(x)
215  }  }
216    
217    length.PCorpus <- length.VCorpus <-
218    function(x)
219        length(x$content)
220    
221    names.PCorpus <- names.VCorpus <-
222    function(x)
223        as.character(meta(x, "id", "local"))
224    
225  print.PCorpus <- print.VCorpus <-  print.PCorpus <- print.VCorpus <-
226  function(x, ...)  function(x, ...)
227  {  {

Legend:
Removed from v.1376  
changed lines
  Added in v.1377

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