Hi!
I was trying to install RWeka to be able to use SnowballStemmer in a Mac OS
X 10.6.7 environment... but coudn't do it... I get error messages after:
> library(RWeka);
> install(Snowball);
> ## Test the supplied vocabulary for the default stemmer ('porter'):
> source <- readLines(system.file("words",
"porter","voc.txt",
+ package =
"Snowball"))> result <- SnowballStemmer(source)
Error in .jnew(name) :
java.lang.InternalError: Can't start the AWT because Java was started on
the first thread. Make sure StartOnFirstThread is not specified in your
application's Info.plist or on the command line> target <- readLines(system.file("words", "porter",
"output.txt",
+ package =
"Snowball"))> ## Any differences?
> any(result != target)
Error: object 'result' not found
Trying to add database driver (JDBC): RmiJdbc.RJDriver - Warning, not in
CLASSPATH?
Trying to add database driver (JDBC): jdbc.idbDriver - Warning, not in
CLASSPATH?
Trying to add database driver (JDBC): org.gjt.mm.mysql.Driver - Warning, not
in CLASSPATH?
Trying to add database driver (JDBC): com.mckoi.JDBCDriver - Warning, not in
CLASSPATH?
Trying to add database driver (JDBC): org.hsqldb.jdbcDriver - Warning, not
in CLASSPATH?
Well – after searching around, I decided to take the matter into my own
hands – not ideal, but it fits my small purpose for now... will possibly
expand it later..:
http://holme.se/stem/
:)
Peter
--
+47 920 42 782
[[alternative HTML version deleted]]