Displaying 20 results from an estimated 1238 matches for "stems".
Did you mean:
seems
2010 Mar 16
3
How to parse a string (by a "new" markup) with R ?
...+
| Stem 1 Stem 2 Stem 3 |
| |
+----------------------------------------------------------------+
Stem 0
Assume that we always have 4 stems (0 to 3), but that the length of letters
before and after each of them can very.
The output should be something like the following list structure:
list(
"Stem 0 opening" = "GCCTCGA",
"before Stem 1" = "TA",
"Stem 1" = list(open...
1998 Nov 16
5
Solaris make for 0.63 failing
I shouldn't try to do this on Monday morning. Can anyone suggest why the make
for R 0.63 is failing for me under Solaris (SunOS 5.6).
Paul Gilbert
...
creating src/scripts/html2dos
creating tests/Makefile
creating tests/Examples/Makefile
creating src/include/Platform.h
R is now configured for sparc-sun-solaris2.6
Source directory: .
Installation directory: /usr/local
C
2003 Jul 16
2
Stem and leaf display?
I would like to do some fairly basic stem-and-leaf displays in R.
I am aware (I might even say painfully aware) of stem(base) and
have tried it. That's why I'm hoping someone has a usable stem-
and-leaf display for R so that I don't have to write my own.
r-project.org > Search > R Site Search > "stem and leaf display"
finds nothing.
I also tried the mail archive
2004 Aug 24
2
stem() bug?
Is the following a bug with stem() or is there something else that I am
missing? I ran stem() on the vector x below and got stem(x-10) instead of
stem(x). If I subtract 1 from x, I get a correct answer. If I add 1 to x, I
still get a wrong answer. If I add 10 to x, I get a correct answer. I'm not
sure what to make of this, other than to think it is a bug.
Can anyone tell me if this is a bug?
2010 Mar 16
0
FW: How to parse a string (by a "new" markup) with R ?
...<- y
(y <- getStem("^[.]*$",X,str))
(X <- substr(X,nchar(y)+1,nchar(X)))
(str <-substr(str,nchar(y)+1,nchar(str)))
after <- y
return(c(before=before[1],
opening=opening[1],
inside=inside[1],
closing=closing[1],
after=after[1]))
}
#
##### main part
#
# split sequence into stems
#
(stem0 <- getStem("^[.]*>{7}[.]*",Seq,Str))
(stem4 <-getStem("[.]*<{7}[.]*$",Seq,Str))
(str <- substring(Str,nchar(stem0[1])+1,nchar(Str)-nchar(stem4[1])))
(seq <- substring(Seq,nchar(stem0[1])+1,nchar(Seq)-nchar(stem4[1])))
(stems <- getStem("[.]*>...
2011 Jun 09
2
Coercing Output from mget() into Proper Data Frame
...20 20 23 28 17 25 16 16 28 15 26
Instead, I want something like:
[1] bridesmaid 56
In other words, I want the word in the first column and the frequency
in the second column.
Any help would be very much appreciated.
Regards,
Na'im
library(Rstem)
# make a data frame of stems and their frequencies
stem_freq_list <- function(freqFile) {
stem_dict <- new.env(parent=emptyenv(), hash=TRUE)
freq_dist <- read.csv(freqFile,header=TRUE)
words <- as.character(freq_dist[,1])
freqs <- as.numeric(freq_dist[,2])
stems <- wordStem(words, lan...
2011 Nov 04
1
Help: stemming and stem completion with package tm in R
Hi All
I came across a problem below when doing stemming and stem completion
with package tm in R. Word "mining" was stemmed to "mine" with
stemDocument(), and then completed to "miners"with stemCompletion().
However, I prefer to keep "mining" intact.
For stemCompletion(), the default type of completion is "prevalent",
which takes the most
2007 Jul 04
3
Stemming problem
Does anyone know if xapian stemming support suffix -er? I tried -s and -ing
both work, but not -er.
_________________________________________________________________
?????????????? MSN Messenger: http://messenger.msn.com/cn
2005 Nov 16
1
query time stemming and term weights
I am developping a personal/desktop search tool for which I am
experimenting with doing no stemming during the indexing, but instead
having a stem database (or several for different languages), used for
expanding the query terms at search time.
(ie: user query: flooring -> stem: floor
-> final query for: [floored flooring floorings floors])
I have thought of a possible problem with
2012 Aug 07
5
summing and combining rows
...be combined so that rows are summed by a
group based on a certain variable. I'm pretty sure rowsum() or rowsums()
can do this but it's difficult for me to figure out how it will work for
my data based on the examples I've read.
My data are structured like this:
Plot SizeClass Stems
12 Class3 1
12 Class4 3
17 Class3 5
17 Class4 2
I simply want to sum the size classes by plot and create a new data
frame with a size class called "Class34" or with the SizeClass variable
removed. I actually do have ot...
2004 Mar 05
4
error? at stem() (PR#6645)
Full_Name: Yutaka Hamaoka
Version: 1.8.1(Raqua)
OS: OSX 10.3
Submission from: (NULL) (218.140.186.74)
Hi,
I've found "stem()" falls into infinit loop when x has no variance. Let's try
x<-matrix(1,nrow=100,ncol=1)
stem(x)
Then you will get infinit flow.
The decimal point is 9 digit(s) to the left of the |
-214748360 |
-214748358 |
-214748356 |
-214748354 |
2008 Jul 13
1
stem and leaf plot: how to edit the stem-values
Hi,
I would like to make a stem and leaf plot and I want to edit the
category-names.
So, by doing this:
> x <- c(1,2,2,3,3,3,3,2,2,1)
> stem(x)
I get:
1 | 00
1 |
2 | 0000
2 |
3 | 0000
First Question: Why do I get gaps between the categories?
(like in line 2 and line 4)
And second: How can I edit the categories so that I can create
something like that:
2006 Dec 06
10
Stem Analyzer
Hi all,
I am trying to implement a search that will use the Stem Analyzer. I
added the Stem Anaylzer from the examples shown in another post
http://ruby-forum.com/topic/80178#147014
module Ferret::Analysis
class StemmingAnalyzer
def token_stream(field, text)
StemFilter.new(StandardTokenizer.new(text))
end
end
end
The problem with the Stem analyzer is that when I search for a
2010 Apr 15
1
classes and functions for qqnorm and stem
Referring to "Using R for Data Analysis and Graphics" by J H Maindonald,
and available from the R site, I found the example on p.30 non-working:
> stem(qqnorm(possum$hdlngth))
Error in stem(qqnorm(possum$hdlngth)) : 'x' must be numeric
Since qqnorm(possum$hdlngth) plots, and
> class(possum$hdlngth)
[1] "numeric"
, the problem must be here:
>
2008 Sep 12
1
Parallel stem-and-leaf displays
Hi there,
I am trying to find a way to accomplish parallel stem-and-leaf displays in
R, yet there seems to be no specific command nor info in the archive that I
can depend on.
Specifically, there are two batches of data that I want to put together in
parallel stem-and-leaf displays. Would anyone help me figure out how to do
this in R?
Thank you sooooooooooooo much!
Jin
[[alternative HTML
2006 Nov 13
1
"stem" does not give a correct answer (PR#9359)
Full_Name: Myung Geun Kim
Version: 2.4.0
OS: Window XP
Submission from: (NULL) (210.110.8.105)
For the data c1 of size 14, stem provides the following result.
**************************************************************
>c1
[1] 14 39 70 11 38 20 37 15 41 74 74 34 48 51
ZZangi>stem(c1)
The decimal point is 1 digit(s) to the right of the |
0 | 145
2 | 04789
4 | 181
6 | 044
2013 Jan 24
1
Integrating a PaiceHusk stemmer into the library
Hey guys Hi :) I've implemented a PaiceHusk stemmer externally So what I
am doing right now is passing a pointer to my StemPaiceHusk class(which in
turn has been subclassed from Stemimplementation) to the
Stem::Stem(StemImplementation *p) constructor .So basically,I have to
include "paicehusk.h" in my indexer .However,I now want to make it a part
of the Xapian library so that I
2009 Jun 05
2
Blacklist stemming
Hi,
I need to modify the stemming for a couple of words (a blacklist) and for
all the other to use the usual snowball stemmer.
The "natural" way of doing it would be to derive from Stem and override
operator ()... but I am using *python-bindings*. Would this be possible?
If not I have two other solutions in mind:
- add a custom stemmer to Xapian
- write custom index & search
2001 Dec 28
1
Simple:: usage of stem() and hist()?
I must apologize in advance for asking a simple question. I am sure that a clue will be sufficient to get this show on the road. I am trying to graph tide prediction data in various ways. I haven't been able to answer this question after pouring over TFM.
I read the datafile
theight <- read.table("tides",header=TRUE)
I do get a summary() or fivenum()
2008 Aug 16
1
python how do i stem words in python?
hi,
i am newbie to xapian and am trying to get started with it in python.
there is no stemmer.stem_word method in the latest python library. how
do i stem words before doing doc.add_posting?
is there any sample hello world code in python that i can use?
thanks a lot!
>>> stemmer = xapian.Stem('english')
>>> stemmer.
stemmer.__call__