Displaying 20 results from an estimated 3000 matches similar to: "Analyzing texts with tm"
2010 Apr 23
2
Library (tm) Error: could not find function "TermDocMatrix".
Hi List
I have the next code and the error. I have try with other codes and I have
the same problem.
> reut21578 <- system.file("texts", "crude", package = "tm")
> (r <- Corpus(DirSource(reut21578), readerControl = list(reader =
> readReut21578XMLasPlain)))
A corpus with 20 text documents
> (r <- Corpus(DirSource(reut21578), readerControl =
2014 Nov 22
2
Problemas con tm
Estimados compañeros tengo un problema con la librería tm o con windows
8.1 o con algo que no controlo.
Hace tiempo con windows 7 y una versión anterior de R ejecutaba este código:
library(tm)
data("crude")
crude <- tm_map(crude, tolower)
tdm<-TermDocumentMatrix(crude)
y sin problemas me creaba tdm. Ahora si lo ejecuto me da el siguiente error:
Error: inherits(doc,
2010 Mar 31
1
tm package- remove stowords failling
Hi,
I just noticed that by inspecting the matrix term that no all stopwords are
removed, does someone know how to fix that?
library(tm)
data("crude")
d<-tm_map(crude, removeWords, stopwords(language='english'))
dt<-DocumentTermMatrix(d,control=list(minWordLength=3, minDocFreq=2))
inspect( dt)
I am using R version 2.10, tm package 0.5-3
cheers
Welma
[[alternative HTML
2012 May 29
1
package tm: reading XML files
Dear fellow R users,
I'm using the package tm for text mining, and have a problem with
reading in a corpus from XML files.
When I copy the example from "Introduction to the tm package" of the
small reuters subset "crude", everything goes well, and I get a corpus
with the required meta data.
When I read in the entire reuters21578 corpus in XML format however (or
a
2011 May 22
0
tm package, makeChunks
Hi all,
i have a question about a makeChunks function from tm package.
I have a text with constructed with a SQL qurey consisting of several rows in a table. The texts should be around 1000 lines but is now one long line of text.
My question is :
Does this matter in makeChunks() functions of tm package ( i think it does- according to my simple tests)? If so, how can I make a text
2009 Jan 09
1
[R} how to build TermDocMatrix in tm text mining package of R
Howdy Gurus
I 'd like to ask a question about how to build TermDocMatrix in tm text
mining package.
It is not clear about importing a plain text file, and them converting that
text file into TermDocMatrix file, etc to me.
How can I build a TermDocMatrix of " a plain text document file for text
association?
Or are there any good manuals?
Thank you in advance,
--
Kum-Hoe Hwang, Ph.D.
2010 Feb 04
1
How to read HTML or TEXT file with tm package
??????????????????????????????????????????...
????: ????
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100204/a3069c99/attachment.pl>
2011 May 18
0
text mining problem using TM package
Hi, I’m using R (TM package) for text mining and I’m having problems
filtering articles out of my data set by local meta data.
Here is the code:
*data <- ("C:/… /19970331")*
* *
* *
*rs <- ReutersSource(data , encoding = "UTF-8")*
*RC <- VCorpus(DirSource(data), readerControl = list(reader =
readRCV1asPlain,*
*
language = "en_US",*
*
load =
2009 Nov 24
1
Broken installer (PR#14083)
Full_Name: Robert A. Weller
Version: current
OS: Mac OS 10.6
Submission from: (NULL) (129.59.140.86)
The gfortran 4.2.4 installer in the Tools section that is supposed to install a
Snow Leopard (10.6) version is actually installing version 4.2.1. I am finding
that the 4.2.1 compiler installed as issues e.g. in interpreting the
-fno-automatic command line switch and also -fdefault-real-8.
We
2002 Mar 08
2
disable spoolss - not working
Hi,
I don't want to have to downgrade my samba server to disable spoolss.
I'm running 2.2.3. (I assume I don't need 2.2.3a since it just fixed
an overwrite bug).
When I use "disable spoolss = no", I can access my printer
\\server\savin just fine.
When I use "disable spoolss = yes", I can see my printer (savin) in
\\server, but when I access it, I get:
2011 Dec 31
0
[PATCH] i.d.s/openvpn: support 'remote-cert-tls (server|client)'
From: Simon Deziel <simon.deziel at gmail.com>
Fixes LP: #806537
Signed-off-by: Simon Deziel <simon.deziel at gmail.com>
---
rulefiles/linux/ignore.d.server/openvpn | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/rulefiles/linux/ignore.d.server/openvpn b/rulefiles/linux/ignore.d.server/openvpn
index 2b4bfd6..d80f42f 100644
---
2006 Dec 19
0
Bug#403758: Logcheck rules for Snort
Package: logcheck-database
Hey,
I created a logcheck ignore file for Snort with stuff I don't
particularly want to see every day. The one line with the warning in it is
questionable, so leave it in or out at your discretion. Also, my regex
skills are not as good as they could be, so there are probably mistakes, or
things that could be simplified more. Rules are below:
^\w{3} [
2002 Mar 07
1
spoolss causing driver issues
Hi,
I have a problem. I upgraded from samba 2.0.7 to 2.2.3 recently, and
one of my 2 printers have driver issues.
Whenever I print to SAVIN 2545, I get binary and hieroglyphics, so
I assumed that it's driver-related. I can print to our HP8100 just fine.
Some machines were still configured with:
"\\server\savin", LAN Manager Printer
These machines STILL print fine.
However, if
2009 May 04
2
rotate texts
Hi all,
I'm hoping to add texts into a plot. I'm using text() to do it. I wonder if
the text() allow me to make the text vertically printed?
Thanks in advance for help,
phoebe
[[alternative HTML version deleted]]
2004 Jun 21
2
Bug#255560: logcheck-database: More Postfix rules
Package: logcheck-database
Version: 1.2.22a
Severity: normal
Thanks to the upgrade to Postfix 2.1 and deploying a newer logcheck
ruleset on a busier server I've found a bunch more rules for Postfix.
I've attached new rules files and patches are inline.
The following patch is for violations.ignore.d:
--- logcheck-postfix.orig 2004-06-21 20:11:14.000000000 +0100
+++ logcheck-postfix
2008 Jan 24
0
[PATCH] Re-enabled :port portion of "UDPv4 link" openvpn rule
I see that this openvpn rule has been modified to no longer attach the
":port" part to "[undef]" -- probably to reflect a recent change in
openvpn. Unfortunately, the rule no longer matches in etch, thus
breaking the backport.
Here's a patch to match both versions.
Signed-off-by: Fr?d?ric Bri?re <fbriere at fbriere.net>
---
rulefiles/linux/ignore.d.server/openvpn
2018 Dec 26
1
Issue when building R-parched_2018-12-26
Hello.
Building R-patched from source on Win64 using current Rtools 3.5.0.4, I?m
getting the following notes indicating an extra left brace somewhere; or is
the problem on my end?
My installed Perl is Strawberry 5.28.0.1-64 bit.
Thank you,
Avi
(Sent from an iPhone, so my apologies if HTML also comes through)
------ Making HTML documentation ------
creating doc/manual/version.texi
creating
2006 Mar 31
1
adding texts to plots and a problem....
Hello,
I have a problem with adding texts to my plots: The code is
/plot(dates(as.character(tam[,tkolon])),d[,i],ylab=names(d[i]),ylim=c(galt,gust),type="l")
abline(orta,0,lty=3,col=3)
text(//length(d[,i]//),0.025+(orta),expression(mu),col=3)
abline(orta+l2,0,lty=4,col=2)
text(length(d[,i]),0.025+(orta+l2),expression(+2*sigma),col=2)
abline(orta-l2,0,lty=4,col=2)
2020 Nov 02
0
removing 'use_libfts' from dovecot fts_solr config; docs/examples of solr-backend-only tokenizer config for dovecot?
given existing problems with
fts_solr = ... use_libfts ...
i've rm'd it from dovecot config, and am moving all tokenization to solr config.
iiuc, in dovecot + solr context, that's correctly config'd in
solr/data/dovecot/conf/schema.xml
dovecot release ships with 'starter configs',
cp -af /usr/share/doc/dovecot/solr-config-7.7.0.xml
2007 May 25
0
Bug#425967: logcheck-database: The patterns for courier-imap-ssl do not match imap, only imap-ssl
Package: logcheck-database
Version: 1.2.54
Severity: minor
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-dp0
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Versions of packages logcheck-database depends