Displaying 20 results from an estimated 200 matches similar to: "Trying to get RWeka/Snowball to work"
2012 Jan 13
4
Troubles with stemming (tm + Snowball packages) under MacOS
Dear all,
I have some troubles using the stemming algorithm provided by the tm
(text mining) + Snowball packages.
Here is my config:
MacOS 10.5
R 2.12.0 / R 2.13.1 / R 2.14.1 (I have tried several versions)
I have installed all the needed packages (tm, rJava, rWeka, Snowball)
+ dependencies. I have desactivated AWT (like written in
2011 Jun 04
1
Problem with Snowball & RWeka
I too have this problem. Everything worked fine last year, but after
updating R and packages I can no longer do word stemming.
Unfortunately, I didn't save the old binaries, otherwise I would just
revert back.
Hoping someone finds a solution for R on Windows. Thanks!
There is a potential solution for R on Mac OS from Kurt Hornik copied
below, but I cannot get this to work on Windows.
2011 Mar 24
2
Problem with Snowball & RWeka
Dear Forum,
when I try to use SnowballStemmer() I get the following error message:
"Could not initialize the GenericPropertiesCreator. This exception was
produced: java.lang.NullPointerException"
It seems to have something to do with either Snowball or RWeka, however I
can't figure out, what to do myself. If you could spend 5 minutes of your
valuable time, to help me or give me a
2011 Jul 16
0
Problem with Snowball & RWeka
The Java error when attempting to use the stemmers in the Snowball or
tm packages on Windows machines is caused by Quicktime. See prior
posts in this thread.
The workaround is to uninstall Quicktime.
After much trial and error on machines spanning WinXP/2k/Vista/7, I
finally verified this as follows:
1) Fresh installation of Windows/Java/R. Snowball package works perfectly.
2) Install Quicktime.
2011 Sep 05
0
Stemming functions only work on the last word of plain text documents
Hello,
I want to use the SnowballStemmer on a collection of plain text documents. However, when I apply it to my corpus using the tm_map function it only stems the last word of each document (The problem is the for wordStem and stemDocument does not work at all). An example:
> path <- c("c:\path\to\directory") # collection of plain text documents
> corp <-
2011 Feb 03
3
Reg : read missing values from database using RJDBC
Hi R-helpers, i am using the following dataset.This dataset is stored in a
mysql database.
W(x) pH(y)
10 1
15 1
20 4
5
7.5 3
13
9 5
11.5
13.5 3
16 2
1
9.6 1
I am using RJDBC package to read the data from the database into a
dataFrame.The commands used are,
jdbcDriver<-JDBC(driverClass="com.mysql.jdbc.Driver",
2007 Mar 05
1
RJDBC
I need help.
I'm trying to connect with an Oracle DBMS and MySQL DBMS, I'm using
RJDBC package.
My code is the next:
library('rJava')
library('DBI')
library('RJDBC')
//Mysql
drv <-
JDBC("com.mysql.jdbc.Driver","C:\\Temporal\\mysql-connector-java-3.0.9-stable-bin.jar","'")
conn <- dbConnect(drv,
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
Puppet 3.3.1 // CentOS release 6.4 (Final)
rpm -qa | grep puppet
puppetlabs-release-6-7.noarch
puppet-3.1.1-1.el6.noarch
puppetdb-1.3.0-1.el6.noarch
puppet-server-3.1.1-1.el6.noarch
puppetdb-terminus-1.3.0-1.el6.noarch
Installed from yum packages:
Running Transaction
Installing : puppetdb-1.3.0-1.el6.noarch
2010 Aug 09
1
TM Package - installation
Hi All,
I have been trying to do some text analytics in R using tm package. I have
installed and loaded the package, along with dependencies (slam,
rWeka,rjava). When I try to run a tm_map command, it gives me "Error in
.jnew(name) :
java.lang.NoClassDefFoundError: weka/core/stemmers/SnowballStemmer" error.
Can someone please throw some light on this?. Am I missing out on something?
2007 Mar 05
0
RJDBC
I need help.
I'm trying to connect with an Oracle DBMS and MySQL DBMS, I'm using
RJDBC package.
My code is the next:
library('rJava')
library('DBI')
library('RJDBC')
//Mysql
drv <-
JDBC("com.mysql.jdbc.Driver","C:\\Temporal\\mysql-connector-java-3.0.9-stable-bin.jar","'")
conn <- dbConnect(drv,
2020 May 19
5
FTS-lucene errors : language not available for stemming
I'm getting some log errors with clucene that I am having no luck tracking down on the interwebs.
Errors:
May 19 05:05:16 indexer-worker(gessel at blackrosetech.com)<62971><aPAEI3zLw17A/QAA0J78UA:EF25M3zLw1779QAA0J78UA>: Error: lucene index /mail/blackrosetech.com/gessel//lucene-indexes: IndexWriter::addDocument() failed (#4): language not available for stemming
May 19 05:05:16
2011 Jan 31
0
Problem with loading the Snowball package
I tried using the "Snowball" package for performing stemming in text mining.
But when I tried to load the package the following error is thrown:
Error : .onLoad failed in loadNamespace() for 'Snowball', details:
call: NULL
error: .onLoad failed in loadNamespace() for 'rJava', details:
call: hive[[hive$CurrentVersion]]
error: attempt to select less than one
2007 Jan 09
2
non-snowball stemmer
Hi!
I am going to use non-snowball russian stemmer with Xapian. There is a
good one at http://www.aot.ru. I've found that current implementation of
Xapian::Stem does not allow it (there is no public interface for
Xapian::Stem::Internal). Do you apply patches? Are there any
recommendations for writing patches?
Regards,
Oleg Obolenskiy
highpower at mail.ru
2009 Apr 27
5
ruby jasper report
Hi,
I am trying to create a pdf using ruby jasper.
For this I am referring this url:-
http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports
I have done everything whatever is in that link.
Still I am not able to get the pdf. I am not getting any error in log
file. My log file is:-
"Processing AccountController#customer_report (for 127.0.0.1 at
2009-04-27 13:19:34) [GET]
2009 May 14
0
I can't install RWeka
If I want to install RWeka I get an error:
> library("RWeka")
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
Could you have any idea to help me?
--
View this message in context: http://www.nabble.com/I-can%27t-install-RWeka-tp23542141p23542141.html
Sent from the R help mailing list archive at Nabble.com.
2007 Nov 27
1
Questions on RWeka classifiers?
Hi,
I am using some classifiers in RWeka packages and met a couple problems.
(1) J48 implements C45 classifier, the C45 should be able to handle missing
values in both training set and test set. But I found the J48
classifier can
not be evaluated on test set with missing values--it just ignore them.
(2) The ensemble classifiers in RWeka such as bagging and boosting: there
is a
2009 Jun 05
0
RWeka write.arff: set @relation
Dear all,
I am using the RWeka package to append several arff files. Although it
works the resulting arff files always have "@relation R_data_frame",
and I have to change this manually to my desired relation name. Can
the package accomplish this for me instead?
Thank you,
Wil Koetsier
2007 Nov 28
0
Questions on RWeka classifiers
Hi,
I am using some classifiers in RWeka packages and met a couple problems.
(1) J48 implements C45 classifier, the C45 should be able to handle missing
values in both training set and test set. But I found the J48
classifier can
not be evaluated on test set with missing values--it just ignore them.
(2) The ensemble classifiers in RWeka such as bagging and boosting: there
is a
2010 Aug 04
0
RWeka problem: java.lang.NoSuchMethodError
Hi,
I'm trying to use RWeka and followed the following example from the
RWeka manual.
============
## Use some example data.
w <- read.arff(system.file("arff","weather.nominal.arff",
package = "RWeka"))
## Identify a decision tree.
m <- J48(play~., data = w)
m
## Use 10 fold cross-validation.
e <- evaluate_Weka_classifier(m,
cost = matrix(c(0,2,1,0),
2009 Apr 26
2
RWeka prediction
Dear All,I encountered a problem when I use RWeka for prediction.
Specifically, I use the following:
res=J48(X1~.,data=mydata);
predict(res), #it worked fine
but when I tried to use a different data set,
i.e. predict(res,newdata=mynewdata);
all the predictions I get is 0, which apparently is problematic.
What is weird is, if I use the old data, but use the newdata option,
i.e.