Displaying 20 results from an estimated 300 matches similar to: "Error "... x must be atomic" when using lsa (latent semantic analysis) package"
2008 Mar 25
0
Solution to: Error "... x must be atomic" when using lsa (latent semantic analysis) package
In case someone else runs into this, I found the problem, it was related to
having some zero-length text files. Make sure you have valid (non-empty)
data files for loading into the document-term matrix.
Alex
---------- Forwarded message ----------
From: Alex McKenzie <ahmckenzie@gmail.com>
Date: Mar 25, 2008 2:07 AM
Subject: Error "... x must be atomic" when using lsa (latent
2006 Oct 03
1
new to R: don't understand errors
Hello all,
I'm brand new to the use of R, and I'm trying to quickly learning the
rudiments for a couple of projects here at work. I'm working with the
lsa package and trying to generate various semantic spaces. I seem to do
well with small collections of clean text files, but now that I am
trying to work with larger collections of less than perfection files,
I'm getting errors
2007 Aug 18
2
Problem with lsa package (data.frame) on Windows XP
Dear R team,
The following piece of code (to use the lsa package) works fine on my
mac os x, but when I run the same code on Windows XP, it doesn't work
any more.
### code:
library("lsa")
matrix1 = textmatrix("C:\\Documents and Settings\\tine stalmans.TINE.
000\\LSA\\cuentos\\", stemming=TRUE, language="spanish",
minWordLength=2, minDocFreq=1,
2012 Feb 22
0
LSA package: problem with textmatrix()
I have a problem with the textmatrix() function of the LSA package whenever I specify 'removeNumbers=TRUE'. The data for the function are stored in a directory LSAwork which consists of a series of files that houses the text in column form. As long as removeNumbers = FALSE or it is not present the textmatrix function works just fine. The error message I get seems to suggest it is
2006 Oct 04
0
FW: new to R: don't understand errors
Hello Jerad,
> It was suggested I contact you for possible help with this issue. Well,
> as you can see for the emails below, that is what I was told at R-help.
> Any insight to my lsa problems (also listed below) would be of great
> help.
from what I see, the problem probably indeed lies within the
textfiles: for performance reasons, it was not possible to
include any
2011 Sep 12
1
findFreqTerms vs minDocFreq in Package 'tm'
I am using 'tm' package for text mining and facing an issue with finding the
frequently occuring terms. From the definition it appears that findFreqTerms
and minDocFreq are equivalent commands and both tries to identify the
documents with terms appearing more than a specified threshold. However, I
am getting drastically different results with both. I have given the results
from both the
2010 Mar 31
1
tm package- remove stowords failling
Hi,
I just noticed that by inspecting the matrix term that no all stopwords are
removed, does someone know how to fix that?
library(tm)
data("crude")
d<-tm_map(crude, removeWords, stopwords(language='english'))
dt<-DocumentTermMatrix(d,control=list(minWordLength=3, minDocFreq=2))
inspect( dt)
I am using R version 2.10, tm package 0.5-3
cheers
Welma
[[alternative HTML
2012 Feb 26
2
tm_map help
Hi all,
I am trying to do some text mining with twitter and I am getting the error:
Error in structure(names(sapply(possibleCompletions, "[", 1)), names = x) :
'names' attribute [1] must be the same length as the vector [0]
When I use tm_map. Has anyone had/seen this error before? The code I
have is shown below and this error only occurs with #qantas, hashtags
like #asx,
2010 Mar 18
0
error while usig "tm" package
I have recently started using "tm" package by Feinerer, K. Hornik, and D.
Meyer.
While trying to create a term-document matrix from a corpus (approxly 440
docs)
I get the following error:
tdm <- TermDocumentMatrix(tmp, control=list(weighting=weightTfIdf,
minDocFreq=2, minWordLength=3))
*Error in rowSums(m > 0) : 'x' must be an array of at least two dimensions*
This error
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
2017 Feb 28
0
Solr 6.4.1 config
Since I was recently asked off-list - thought I'd make this available if
it will help anyone else. Attached is my (I hope) working 6.4.1
config. Also some instructions:
First, you have to decide if you're running in standalone or cloud
mode. Standalone is simpler, but I seem to be having better luck
running in cloud mode - even though I'm only using a single
2007 Aug 21
2
Partial comparison in string vector
Hi list members
I have a vector of strings
x=c("w","ex","ee")
And I want to get a logical vector showing the positions where my search
string "e" matches the elements partially, i.e. is at least the left-hand
part of the target strings, i.e. I want to get a vector FALSE TRUE TRUE.
Any ideas?
Thanks
Steve Powell
proMENTE social research
research |
2007 Mar 15
2
Cannot allocate vector size of... ?
Hello all,
I've been working with R & Fridolin Wild's lsa package a bit over the
past few months, but I'm still pretty much a novice. I have a lot of
files that I want to use to create a semantic space. When I begin to run
the initial textmatrix( ), it runs for about 3-4 hours and eventually
gives me an error. It's always "ERROR: cannot allocate vector size of
xxx
2012 Oct 04
1
some improvements about the latent semantic search
Hi,all,
Recently I invented a new ranking algorithm inspired by the theory of
spread activation and probabilistic model, which can find the latent
semantic relationship between docs and terms and is almost linear time, and
I took one afternoon to code and implement this algorithm. And the testing
result shows that the speed of this algorithm is much faster than the
famous Latent Semantic Analysis
2006 Feb 09
2
Finding related items (like latent semantic indexing)
I''ve been trying to use Classifier::LSI to provide a means of finding
''related items'', where each item is a one line description of a product.
Although on small samples the Classifier works great, it completely
baulks on my current dataset of 3000 items.
I''ve started to look at ferret this morning, following a post on the
ruby mailing list. I''d
2005 Nov 08
0
sorting during xtabs? sorting by "individual" order?
Hey alltogether,
refacturing a package (before it will be released),
I ran across the following problem.
I have two directories with different text files,
I want to read the first and construct a document-term
matrix from it (every term=word in a row, every file in
a column, occurrence frequencies form the values).
The second directory contains different files. It
needs to be read in to also
2006 Nov 20
0
LSA increase? Newbie question
Greetings,
I have been asked to use NetEm to do a laboratory emulation of some
low performance links of subset of a target network. My task manager
has asked me to determine whether LSAs will increase in the lab
configuration as compared to the target network.
The subset of the target network that I have to emulate consists of 6
routers, A..F, in the following configuration, where (i) and
2012 Feb 20
0
Problems with installation of lsa package
Hi everybody!
First of all, I would like to point that I am newebie in using R. The issue is that I need to install lsa package in R. In theory, I have downloaded and installed all necessary packages to run lsa library, but when I am going to load it I get this message:
> library(lsa)Loading required package: SnowballError : .onLoad failed in loadNamespace() for 'Snowball', details:
2006 Mar 09
1
lsa and Rstem?
Dear r-helpers,
I can't get lsa to run because:
> library(lsa)
Loading required package: Rstem
Error in library(pkg, character.only = TRUE, logical = TRUE, lib.loc
= lib.loc) :
'Rstem' is not a valid package -- installed < 2.0.0?
In addition: Warning message:
cannot create HTML package index in: make.packages.html()
> install.packages('Rstem')
Warning in
2006 Jan 12
3
LSA and SAMR pipes in winbind client
As far as I saw, since some microsoft patch for AD, winbind client from
samba 3.0.14 (and prior versions) does not work properly for getting users
and groups from Active Directory. This problem was solved in 3.0.20. I saw
the following text in the samba 3.0.20 changelog:
"Disable schannel on the LSA and SAMR pipes in winbindd client code to deal
with Windows 2003 SP1 and Windows 2000 SP4