Displaying 20 results from an estimated 1000 matches similar to: "separate the sentence after finding a particular word"
2012 Jun 15
3
spelling correction using R
hello
I want a code which can correct the spelling mistakes as well as
grammatical mistakes in the sentences...that is if I am writing following
sentence:
I want too meet my frnd bt due to hectic shcedule I cant
I want output in following way:
I want to met my friend but due to hectic schedule I can't.
Thanks in advance
Shilpa Rai
MSc
IIT Bomaby
--
View this message in context:
2012 Jun 13
2
need help
hello
could you help in solving the following problem
I want to replace same consecutive words by a single word in a sentence..
for example --- my name name name is micky
so I want the output like this--my name is micky
I want this solution for a text file
can you tell me the code for it??
thanking you in anticipation
--
Shilpa Rai
MSc.(2011-2013)
Applied Statistics and Informatics
Indian
2012 Jun 13
1
regarding the function WebCorpus
hello,
I have a question regarding the function WebCorpus..When I am using this
function its showing error: couldnt find the function...I have downloaded
the tm package...Can you help me in this regard? Also I want to know how we
can data/information about a product or topic from google,facebook etc using
R...I have find a command
corpus <- WebCorpus(GoogleFinanceSource("AAPL"))
but
2012 Jun 15
1
help in sentDetect() fuction
hello,
I am using the following code
>s<-"I am very happy, excited, and optimistic.I am very scared, annoyed, and
irritated.Iraq?s political crisis entered its second week one step closer to
the potential.dissolution of the government, with a call for elections by a
vital coalition partner and a suicide attack that extended the spate of
violence. that has followed the withdrawal.of
2012 Jun 14
1
how to export output
hello,
I am using following command
classify_polarity(documents,algorithm="bayes",verbose=TRUE)
output is:
[1] "DOCUMENT 1"
[1] "WORD: excited CAT: positive POL: strongsubj SCORE: 8.44419229853175"
[1] "WORD: happy CAT: positive POL: strongsubj SCORE: 8.44419229853175"
[1] "WORD: optimistic CAT: positive POL: weaksubj SCORE: 7.7510451179718"
[1]
2013 Aug 25
1
Capturing the whole output using R
Hi,
May be this helps:
#Creating some dummy data.?
set.seed(24)
lst1<-lapply(1:8,function(x) ts(sample(1:25,20,replace=TRUE)))
set.seed(49)
lst2<-lapply(1:8,function(x) ts(sample(1:45,20,replace=TRUE)))
??Find_Max_CCF()
#No vignettes or demos or help files found with alias or concept or
#title matching ?Find_Max_CCF? using regular expression matching.
Found a function with the same
2013 Aug 24
1
Divide the data into sub data on a particular condition
Hi,
Use ?split()
#dat1 is the dataset:
lst1<- split(dat1,dat1$BaseProd)
lst1
#$`2231`
?# BaseProd? CF OSA
#1???? 2231 0.5 0.7
#2???? 2231 0.8 0.6
#3???? 2231 0.4 0.8
#
#$`2232`
?# BaseProd CF OSA
#4???? 2232? 1?? 2
#5???? 2232? 3?? 1
#
#$`2233`
?# BaseProd? CF OSA
#6???? 2233 0.9 0.5
#7???? 2233 0.7 0.5
#8???? 2233 4.0 5.0
#9???? 2233 5.0 7.0
lst1[[1]]
#? BaseProd? CF OSA
#1???? 2231 0.5 0.7
2005 Oct 26
1
R- exp(-1000) ? - how to get R to give me an actual answer ?
Dear All,
I am a novice user of the R software package. When I try and compute,
exp(-1000) or exp(-2000), i get the answer as zero. Is there any way i can get
R to compute the answer and give me an actual number ? ( by increasing the
precision or any other method).
If I cannot get R to give me a number, can anybody give me some advice on how
to manually compute this number ?
I would greatly
2008 Nov 05
1
How do I read a text (.csv) file to match a matrix/cross tab? (Object confusion??)
I'm having a problem reading data to set control totals for a dataframe.
I want to adjust a dataframe based on a 2-d table of values, which I get
by using :
> CurrentX1Sums <- as.matrix(xtabs(~tripid_nu+lineon, data=SurveyData))
> CurrentX2Sums <- apply(CurrentX1Sums, 1, sum)
I've created a .csv file with new (target) sums that looks like this:
tripid_nu Warner
2016 Nov 18
3
Linking LLVM IR with standard library
Hi,
I have a LLVM IR file generated for a different source language (Not C). I
have added a rand() function in it to generate random numbers.
I compiled the .ll file to .o using clang. However, when I execute the .o
file all generated numbers are zeros.
How should I link the .ll file with the standard library for the clang to
generate the random numbers?
Thanks
-Shilpa
-------------- next
2004 Dec 15
2
which
Why the last "which" in the following example doesn't
work? Is there a simple way to identify the indices of
array elements that meet multiple criteria?
Thanks.
YC Tao
> x<-1:10
> which(x<5)
[1] 1 2 3 4
> which(x>2)
[1] 3 4 5 6 7 8 9 10
> which(x<5 && x>2)
numeric(0)
__________________________________
Dress up your holiday email,
2010 Feb 27
2
[LLVMdev] RegisterPass isAnalysis parameter
On Feb 25, 2010, at 5:45 PM, David A. Greene wrote:
> The RegisterPass template takes care of notifying the PassManager
> that the pass exists. One of the advantages of PassManager is
> that it decouples pass execution from the rest of the infrastructure
> so the class need not be visible to anything outside the
> implementation
> of the pass itself.
Even though the
2003 May 15
1
Sendmail --- HELP!
I posted something about this a while ago and didn't get any response. I
having a HUGE problem with sendmail. I'm clueless that sendmail is even
down until I check the box. No mail comes in until I restart and even then
sendmail doesn't stay up.
Note: I have only been having this problem since FreeBSD 4.8. I have been
doing the same setup for ages on all my boxes without
2003 Apr 28
1
Sendmail Issues
Hey All,
I put up a new 4.8 box about a week ago. Mail was working fine for days and
now all of a sudden it just keeps crashing or at least part of it is I
think. I've been doing the same sendmail setup on all my boxes for ages
and I've double-checked it all.
I have even reinstalled sendmail and still no success. If I send mail from
another box the mail does not arrive AND
2007 Nov 20
9
Testing Models without fixtures
Hi,
I would like to test a sorting method that is in the user model, it''s
a class method called search.
What I would like to do is create 2 users and load the test database
with just those 2 users, so that I can call
User.search("john") and it would return those two users.
Not sure how to clear the test database and populate it just with
these 2 users for that specific
2007 Sep 20
1
winbind and local groups
Hello,
I got a Samba setup with an samba server being part of a Windows Domain,
which is working great. I can authenticate using all domain users and so
on without any problem.
Now I added a local group named "rai-additional" to my samba system and
added a domain user to that group (using DOMAIN+username).
"getent passwd DOMAIN+username" the domain groups and
2004 Mar 24
1
Support for layers and alpha channel?
First of all congratulations on reaching alpha status.
I was wondering if you people are implementing multiple layer support
into the codec. I don't know if it should be in the container (ogg) or
codec (theora) but perhaps the syncing requires at least support in the
codec.
For example a commercial: a cup of hot chocolate with steam escaping.
Little action, low bandwidth. Then comes the
2008 Jan 03
7
Delete a busy worker
I thought I could delete a busy worker by calling MiddleMan.delete_worker,
but doesn''t seem to end. I believe this was possible in 0.2, is it not in
1.0?
thanks,
Zach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080103/0c701f29/attachment.html
2016 Sep 16
3
SCEV cannot compute the trip count of Simple loop
I have modified the example test case for UB error, still it didn’t unroll
void foo(int x) {
int p, i = 1;
int mat[9][9][9];
for (p = (x+1) ; p < (x+3) ;p++)
mat[x][p-1][i] = mat[x][p-1][i] + 5;
}
Regard,
Deepali
From: Kevin Choi [mailto:code.kchoi at gmail.com]
Sent: Friday, September 16, 2016 1:20 PM
To: Rai, Deepali
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] SCEV
2001 Sep 14
1
Rai and Van Ryzin Model
R-users,
Has anyone implemented (coded) the Rai and Van Ryzin dose-response model from
their 1985 Biometrics paper. I'm trying to avoid re-inventing the wheel. If not
any hints on coding this would be greatly appreciated.
Thanks,
--
==================== Calvin L. Williams, Ph.D. ====================
Department of Mathematical Sciences, Clemson University