Displaying 20 results from an estimated 41 matches for "dtm".
Did you mean:
dom
2009 Nov 12
2
package "tm" fails to remove "the" with remove stopwords
...t.corp <- tm_map(text.corp, stripWhitespace)
text.corp <- tm_map(text.corp, removeNumbers)
text.corp <- tm_map(text.corp, removePunctuation)
## text.corp <- tm_map(text.corp, stemDocument)
text.corp <- tm_map(text.corp, removeWords, c("the", stopwords("english")))
dtm <- DocumentTermMatrix(text.corp)
dtm
dtm.mat <- as.matrix(dtm)
dtm.mat
> dtm.mat
Terms
Docs falls fetch hill jack jill mainly pail plain rain ran spain the water
1 0 0 0 0 0 0 0 0 1 0 1 1 0
2 1 0 0 0 0 1 0...
2002 Feb 26
0
syslinux timeout
...Should be updated with every release to avoid bootsector/SYS file mismatch
;
%define version_str VERSION ; Must be 4 characters long!
%define date DATE_STR ; Defined from the Makefile
%define year '2001'
;
; Debgging stuff
;
; %define debug 1 ; Uncomment to enable debugging
+; DTM BEGIN ------------------------------------------------
+%define writehex 1 ; writehex
+; DTM END --------------------------------------------------
;
; ID for SYSLINUX (reported to kernel)
;
syslinux_id equ 031h ; SYSLINUX (3) version 1.x (1)
;
; Segments used by Linux
;
; Note: the real...
2012 Dec 13
2
Tamaño de la matriz de términos y memoria. Paquete TM
...corpus <- tm_map(corpus, removeWords, stopwords("spanish"))
# stemming
corpus <- tm_map(corpus, stemDocument, language = "spanish")
# crea matriz de terminos
#a) términos como filas y documentos como columnas
dtm <- DocumentTermMatrix(corpus)
inspect(dtm[1000:1005,1000:1005])
# Términos con frecuencia mínima igual a 30:
findFreqTerms(dtm, lowfreq=30)
# remueve términos con baja frecuencia
inspect(removeSparseTerms(dtm, 0.4))
# nube de palabra...
2017 Nov 15
2
NEED HELP : Association in single DTM
I have free text data in a single text document. I create a corpus, and
then a document term matrix out of it. I can create a word cloud too.
But when I do word association for the same, using "findAssocs(), it always
returns numeric(0).
EX : findAssocs(dtm, "king" ,000000000000000000000.1)
I read on stack overflow that it is because I have a single document.
What is the workaround for the same ?
[[alternative HTML version deleted]]
2010 Apr 04
1
How to add a column to dtm showing a part from directory source?
Hello Experts,
I'm new with R and having troubles doing my graduation project.I have 20
subfolders including almost 20000 txt files.What i need to do is to create a
dtm and add a column to it showing a "class" information of the txt files.
My directory source is like "C:\\R\\20news-18828\\comp.graphics" for the
comp.graphic subfolder.I need to take only "comp.graphic" part to be seen at
the CLASS column.Pleasehelp...
--
View this me...
2017 Nov 15
0
NEED HELP : Association in single DTM
If you consider the definition of a DTM, and that findAssoc() computes associations between words as correlations across documents(!), you will realize that you can't what you want from a single document. Indeed, what kind of an "association" would you even be looking for?
B.
> On Nov 15, 2017, at 12:40 AM, Rahul sin...
2007 Jul 06
0
import DTM with readRAST6()
Hello everybody,
I am a new R & Grass user.
I am interested in doing a kriging of the Temperature in a basin,
based on pixel elevation (DTM).
I use Grass 6.2.1 and R 2.5.1 and have installed the spgrass6 package.
The DTM is called "DTM_trentino_100m" and is like this:
north:5158000.0
south:5058500.0
east:1729700.0
west:1611600.0
rows:995
cols:1181
-9999.0 -9999.0 -9999.0 370.84381103515625 372.55120849609375
373.131286621...
2017 Nov 16
2
NEED HELP : Association in single DTM
...one single TEXT document, and i want to find the
association of the top 3 most frequently occurring words with the other
words in the speech, what method do I adopt ?
On Wed, Nov 15, 2017 at 7:08 PM, Boris Steipe <boris.steipe at utoronto.ca>
wrote:
> If you consider the definition of a DTM, and that findAssoc() computes
> associations between words as correlations across documents(!), you will
> realize that you can't what you want from a single document. Indeed, what
> kind of an "association" would you even be looking for?
>
> B.
>
>
>
> >...
2007 Sep 28
0
DTM Cient on DomU Vista 64 and Vista 32 fails
Xen-system
AMD x64 2GB Memory installed with
Domain 0 Linux Fedora 7 + Xen 3.1 + 2.6.18-xen i386
Domain 0 Linux Fedora 7 + Xen 3.1 + 2.6.18-xen x64
HVM -
Vista 32 Ultimate + xenbus
Vista 64 Ultimate + xenbus
The DTM studio/controller was based on microsoft WLK 1.0c + update fileter
patch (MS logo kit filter update every day) for more detail please refer
to www.microsoft.com/whdc/whql/
I schedule a xen device test fro xenbus (unclassified) for the HVM Vista.
The test items on
Common Scenario Stress IO test...
2017 Nov 16
0
NEED HELP : Association in single DTM
...want to find the
> association of the top 3 most frequently occurring words with the other
> words in the speech, what method do I adopt ?
>
> On Wed, Nov 15, 2017 at 7:08 PM, Boris Steipe <boris.steipe at utoronto.ca>
> wrote:
>
> > If you consider the definition of a DTM, and that findAssoc() computes
> > associations between words as correlations across documents(!), you will
> > realize that you can't what you want from a single document. Indeed, what
> > kind of an "association" would you even be looking for?
> >
> > B...
2005 Nov 29
3
floor()
Dear All,
Is this right?
> floor((5.05-floor(5))*100)
[1] 4
I would expect 5, or am I wrong?
Thanks and regards,
W
---------------------------------
[[alternative HTML version deleted]]
2012 Apr 30
1
Subtract days to dates in POSIXct format
Hello,
I'm having problems working with date values in POSIXct format. Here is what I got (eg.lig attached):
x <- read.table("eg.txt", sep = ',', col.names=c("ok","time","secs","lig")) # it gives time as factor
z <- cbind(x,colsplit(x$time, split="\\s", names=c("date", "clock")))
2005 Nov 08
0
sorting during xtabs? sorting by "individual" order?
...data.frame( docs="F2", terms = names(F2tab),
Freq = F2tab, row.names = NULL)
(2) textmatrix function
... to be bound together for every file and to be
converted with xtabs into a document term matrix:
dummy = list(F1frame, F2frame)
dtm = t(xtabs(Freq ~ ., data = do.call("rbind", dummy)))
=>
docs
terms F1 F2
word2 1 1
word3 1 0
word4 1 1
word1 0 1
Now, when I want to re-use this to construct another
document-term matrix from fil...
2011 Sep 26
2
findAssocs()
I am trying to find the math behind the "tm" package findAssocs()
?findAssocs does not say anything besides "association" and "correlate"
Usually entering "findAssocs" at the CLI gives the code for a R
function, but in this case I obtain:
function (x, term, corlimit)
UseMethod("findAssocs", x)
<environment: namespace:tm>
Any ideas?
2012 Oct 19
4
Skype and Sound
I have installed Skype 4.0.0.8 on my new workstation running
CentOS-6.3 (kvm) and the Gnome DTM. This host has an Intel DG43GT
motherboard with on-board audio. The sound works when tested in the
sound preferences in the desk top.
Skype runs and the integrated usb video and microphone both work (I
infer this from the mic test in Skype options showing movement on the
intensity bar as I can h...
2010 Feb 16
0
tm package
...trol =
list(reader = readReut21578XMLasPlain))
reuters21578 <- tm_map(reuters21578, stripWhitespace)
reuters21578 <- tm_map(reuters21578, tolower)
reuters21578 <- tm_map(reuters21578, removePunctuation)
reuters21578 <- tm_map(reuters21578, removeNumbers)
reuters21578.dtm <- DocumentTermMatrix(reuters21578)
that reuters21578.dtm does not include terms from the Heading (e.g. the Title).
I'm wondering if anyone can confirm this and if so, is there an option
to have the terms from the Heading included?
Many thanks!
Cheers,
David
2009 Apr 22
1
Multiple imputations : wicked dataset ? Wicked computers ? Am I cursed ? (or stupid ?)
...plus court
Timing stopped at: 0.092 0 0.094
>
The "textbook example" (example for mice) runs almost perfectly
(warnings in the second example)
Package "mix" (Joseph Schafer, maintained by Brian Ripley) :
> # mix needs dataset columns sorted and counted
> p<-ncol(DTM<-DataTest[sapply(DataTest,is.factor)])
> DTM<-cbind(DTM,DataTest[!sapply(DataTest,is.factor)])
> # Preliminary grouping and sorting
> system.time(s<-prelim.mix(DTM,p))
user system elapsed
0.012 0.000 0.009
Warning messages:
1: In storage.mode(w) <- "integer&quo...
2011 May 11
1
filtering out unwanted words in a Term Document Matrix
Hi Y'all,
I am using the text mining package (tm). I am trying to filter out all of the words in a Term Document Matrix that are not in a list of words that I am interested in. I am using the following code:
z<-tm_intersect(txt.dtm, c("communications", "safety", "climate", "blood", "surface", "cleanliness", "amenities", "monitoring", "staff", "competency", "policy", "procedure", "inconsistency", &q...
2006 Oct 13
1
Unable to create/find SIP channel for this INVITE & Broadvoice
...th_id and SIP secret.
pedantic=no
register => <auth_id>:<secret>:<auth_id>@sip.broadvoice.com
[sip.broadvoice.com]
type=peer
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=xxxx
secret=xxxx
username=xxxx
insecure=very
context=from-pstn
authname=xxxx
;dtmfmode=inband
;dtmf=inband
dtmfmode=rfc2833
dtm=rfc2833
canreinvite=no
qualify=yes
As you can see, I've tried both rfc2833 and inband for DTMF, but I doubt
it has any effect over this situation.
Dialplan:
[from-pstn]
exten => s,1,Answer
exten => s,2,Dial(100,30,tr)
exten => s,3,Hangup...
2017 Jun 12
0
count number of stop words in R
You can use regular expressions.
?regex and/or the stringr package are good places to start. Of
course, you have to define "stop words."
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Jun 12, 2017 at 5:40