similar to: Counting nuber of sentences by qdap package

Displaying 20 results from an estimated 400 matches similar to: "Counting nuber of sentences by qdap package"

2017 Jun 12
0
count number of stop words in R
Defining data as you mentioned in your respond causes the following error: Error in UseMethod("tm_map", x) : no applicable method for 'tm_map' applied to an object of class "character" I can solve this error by using Corpus(VectorSource(my string)) and the using your command but I cannot see the number of stop words in my string! On Monday, June 12, 2017 8:36
2017 Jun 12
3
count number of stop words in R
define your string as whatever object you want: data <- "Mhm . Alright . There's um a young boy that's getting a cookie jar . And it he's uh in bad shape because uh the thing is falling over . And in the picture the mother is washing dishes and doesn't see it . And so is the the water is overflowing in the sink . And the dishes might get falled over if you don't fell
2013 Feb 01
0
qdap 0.2.0 released
qdap (Quantitative Discourse Analysis Package) is an R package designed to assist in quantitative discourse analysis. The package stands as a bridge between qualitative transcripts of dialogue and statistical analysis and visualization. This is the first CRAN release of qdap:?http://cran.r-project.org/web/packages/qdap/index.html The qdap package automates many of the tasks associated with
2013 Feb 01
0
qdap 0.2.0 released
qdap (Quantitative Discourse Analysis Package) is an R package designed to assist in quantitative discourse analysis. The package stands as a bridge between qualitative transcripts of dialogue and statistical analysis and visualization. This is the first CRAN release of qdap:?http://cran.r-project.org/web/packages/qdap/index.html The qdap package automates many of the tasks associated with
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
2017 Jun 12
3
count number of stop words in R
Hi all, Is there a way in R to count the number of stop words (English) of a string using tm package? str="Mhm . Alright . There's um a young boy that's getting a cookie jar . And it he's uh in bad shape because uh the thing is falling over . And in the picture the mother is washing dishes and doesn't see it . And so is the the water is overflowing in the sink . And the
2017 Jun 12
0
count number of stop words in R
Thanks for your reply. I know the command data <- tm_map(data, removeWords, stopwords("english")) removes English stop words, I don't know how should I count stop words of my string: str="Mhm . Alright . There's um a young boy that's getting a cookie jar . And it he's uh in bad shape because uh the thing is falling over . And in the picture the mother is
2017 Jun 12
3
count number of stop words in R
You can define stop words as below. data <- tm_map(data, removeWords, stopwords("english")) Patrick Casimir, PhD Health Analytics, Data Science, Big Data Expert & Independent Consultant C: 954.614.1178 ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Bert Gunter <bgunter.4567 at gmail.com> Sent: Monday, June 12, 2017
2010 May 12
3
Removing points
I have a some data, and imagine a column of how many parasitic eggs found in the stool of some children some of the children we do not have this data so we put -1 in stead. How can you remove the people with -1, to calculate means and do box plots. Thank you! -- View this message in context: http://r.789695.n4.nabble.com/Removing-points-tp2195945p2195945.html Sent from the R help mailing list
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in the past where I can pass an argument through standard search to correct a word with up to 2 spelling errors for example or do the more Google like "Did ya mean?". In this case I just want to change it automatically and search. I am not too interested in specifying the number of characters it is out by. What is
2004 Sep 10
1
Latest Flac license thinking?
I've always wondered, why can't a simple LGPL/GPL double-license do the trick? -- Asheesh. On Tue, 15 Jan 2002, Matt Zimmerman wrote: > On Tue, Jan 15, 2002 at 03:27:42PM -0500, Woodrow Stool wrote: > > > A while back Josh was thinking of changing the Flac license, and posted a > > question on Slashdot regarding various licensing schemes. > > > > Josh, have
2010 May 19
0
Help Preparing Data for Heatmap creation
All - Below are samples of the data, a description of my approach and the work I've done so far. My goal is two-fold, first learn more about R and the creation of heatmaps; second, to create a heat map where the vertical access is a series of days and the horizontal is the hour of a day with the color of the cells being determined by the number of texts in that hour. While the project
2004 Jan 06
3
Policies - deny some nubers
Hi, I had asterisk installed, ISDN-adapter, some x-lite software-phones and I can call betweens the softphone- and 'normal' phones during the ISDN-card. 2 questions now 1) Is it posible to create policies, so that some SIP-users can dial ALL numbers, and some SIP-users not are allowed to dial eg. 900xxx-numbers, 30xxxxxx (mobilphones), 40xxxx(long distance) and if possible on time
2005 Jul 13
1
Can I introduce sql sentences in the DialPlan (Asterisk Realtime)??
Hallo all! Know somebody, if exist Dialplan commands (specifically sql sentences) for Asterisk Realtime? For example: I have users defined in mysql database. In the dialplan, I would like to select one field of a table. select email from sip_buddies where name=200 I try to use DBget, but I have error. I think because DBget use intern Database, and can 't connect to mysql. (Sintaxis:
2007 Nov 24
2
truncated fields with RODBC
I'm changing some functions from storing data in SQLite (using RSQLite) to storing it in PostgreSQL (using RODBC). When trying to store very long character fields I get the following message: > sqlSave(pg, Grids, rownames = FALSE, append = TRUE) Warning messages: 1: In odbcUpdate(channel, query, mydata, paramdata, test = test, verbose = verbose, : character data truncated in column
2008 Jan 10
1
general linear hypothesis glht() to work with lme()
Hi, I am trying to test some contrasts, using glht() in multcomp package on fixed effects in a linear mixed model fitted with lme() in nlme package. The command I used is: ## a simple randomized block design, ## type is fixed effect ## batch is random effect ## model with interaction dat.lme<-lme(info.index~type, random=~1|batch/type, data=dat) glht(dat.lme, linfct = mcp(type
2017 Jul 11
0
Extracting sentences with combinations of target words/terms from cancer patient text medical records
Have you looked at the CRAN Natural Language Processing Task View? If not, why not? If so, why were the resources described there inadequate? Bert On Jul 11, 2017 10:49 AM, "Paul Miller via R-help" <r-help at r-project.org> wrote: > Hello All, > > I need some help figuring out how to extract combinations of target > words/terms from cancer patient text medical
2015 Jul 07
4
procesamiento de textos con R
Buenos días, quisiera saber si existe algún paquete en R para procesamiento de texto, búsqueda de similitudes y ese tipo de cosas. He estado buscando pero no he encontrado nada al respecto. Gracias Un saludo [[alternative HTML version deleted]]
2017 Jul 13
0
Extracting sentences with combinations of target words/terms from cancer patient text medical records
Hi Paul, No need to collapse the information into a single text string, gregexpr() can take a vector of strings (sentences in your case). You can split your sentences up, number them how you want, then search for your pattern either via regex or via these extra packages you use which probably use the PCRE regex library anyway. However, as this is basically what you did, I'm not sure why
2017 Jul 11
2
Extracting sentences with combinations of target words/terms from cancer patient text medical records
Hello All, I need some help figuring out how to extract combinations of target words/terms from cancer patient text medical records. I've provided some sample data and code below to illustrate what I'm trying to do. At the moment, I'm trying to extract sentences that contain the word "breast" plus either "metastatic" or "stage IV". It's been some