Displaying 20 results from an estimated 2000 matches similar to: "implementing soundex algorithm"
2009 Jan 22
2
how to make a soundex method in
I am working with a table in my database where I am looking through
every record to see if it matches with every other record in that same
table to see if its a soundex match or not
I want to define a method where I can call it as a true or false
statement like:
onerecord.soundex(otherrecord) = true or false and be able to run the
code below based on if its true or false
--
Posted via
2014 Dec 30
2
Adding support for phonetic correction via soundex algorithms
Hello!
I'm Shubham Sharma, a 3rd year Information Systems student at BITS Pilani,
and I'd like to explore the possibilities of a GSOC Project that would aim
at improving the tolerant retrieval capabilities via *phonetic* correction(:
misspellings that arise because the user types a query that sounds like the
target term. ) I did find spelling correction via edit distance in
2009 Dec 17
1
observe_field
I have a select element where the id field of a db table is populated.
When I select an id from that select tag I want to show all the
related names with that id populated in another select tag element in
the same
page.please help me.
Thanks & Regards
INDRANIL MUKHERJEE
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2009 Nov 10
1
ActiveRecord::RecordNotFound in LookController
I am finding this error.pls help me
2009 Dec 09
1
how to send mail through ruby on rails
Plz tell me the code to send mail from ruby on rails.I have googled
many times but couldn''t find a proper solution.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2006 Aug 22
5
Creating mysql triggers with migrations blows up
def self.up
execute("delimiter ^ ")
sql = <<-_SQL
CREATE TRIGGER customer_bi BEFORE INSERT ON customers
FOR EACH ROW
BEGIN
SET NEW.sndx = SOUNDEX(NEW.lname) ;
END ^
_SQL
sql.split(''^'').each do |stmt|
execute(stmt) if (stmt.strip! && stmt.length > 0)
end
execute("delimiter ;
2011 Sep 19
1
Announcement: Geppetto 2.0.0 released
The 2.0.0 release of Geppetto is available as download and updates from
within Geppetto for all users of 1.0.x.
Please see the FAQ at:
http://cloudsmith.github.com/geppetto/faq.html for information if you
run into problems updating.
Checkout
http://cloudsmith.github.com/geppetto/faq.html#2011/06/28/how-do-i-update if
you need instructions how to run update.
In this release
===============
*
2012 Nov 02
2
Merge data frame with mispelling characters
Hello dear R-helpers,
I'm working with R-2.15.2 on Windows 7 OS. I'm stucked with a merge of two
data frames by characters.
In each data frame I got two different list of names, that is my main-key to
be merged.
To figure out what I'm saying, I build up a modified "?merge" example, with
errors by purpose:
# Data for authors:
authors <- data.frame(
surname =
2006 Apr 14
5
state_models plugin and file_column?
I was looking at Kyle Mawell''s extremely nifty-looking StateModels
plugin
http://www.kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance
and before I go down the road with it, I was wondering if anyone has
used it with file_column.
The way file_column deals with an uploaded file -- by storing it to the
filesystem in a path that employs the model name and id --
2006 Jan 10
5
matching country name tables from different sources
Hi,
Before I reinvent the wheel I wanted to kindly ask you for your opinion if there is a simple way to do it.
I want to merge a larger number of tables from different data sources in R and the matching criterium are country names. The tables are of different size and sometimes the country names do differ slightly.
Has anyone done this or any recommendation on what commands I
2024 Jan 30
1
R interpreting numeric field as a boolean field
Incidentally, "didn't work" is not very useful information. Please tell us
exactly what error message or apparently aberrant result you received.
Also, what do you get from:
sapply(your_dataframe, "class")
nrow(your_dataframe)
(as I suspect what you think it is, isn't).
Cheers,
Bert
On Tue, Jan 30, 2024 at 11:01?AM Bert Gunter <bgunter.4567 at gmail.com>
2024 Jan 30
1
R interpreting numeric field as a boolean field
Hi Bert,
Below the information you asked me for:
nrow(mydataset)
[1] 2986276
########
sapply(mydataset, "class")
$`Transit Date`
[1] "POSIXct" "POSIXt"
$`Market Segment`
[1] "character"
$`N?mero de Tr?nsitos`
[1] "numeric"
$`Tar No`
[1] "character"
$`Beam Range (Operations)`
[1] "character"
$`Operational Vessel Ranges
2006 Sep 03
9
using highlight from aaf
Hi,
I''m trying to use highlight ferret method with trunk aaf and 0.10.1
ferret.
In my search display I use:
Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id,
:content)
* searcher is a protected method; how can I access to the searcher from
aaf ?
* is the doc id in aaf the same as my model id ?
* is the first param, query, the string query or the query object ?
2006 Mar 31
6
Split Validations?
I have a single table that two people enter data into. Person A creates
the record and I need to specify certain required fields in his form.
Person B has a separate form and she fills in additional fields and I
need to specify that some of these are required.
Since the data is all in one table and since the validations are in the
model, won''t Rails complain when person A tries to
2006 Jul 16
4
migrations questions: MySQL -> postgreSQL
I started my app before migrations were a best practice and have been using SQL scripts. Now I''m looking at potentially having to move from using MySQL to postgreSQL to use a particular hosting provider. I understand migrations are the way to go to make this ''easy'' but it also looks like the use of migrations introduces extra work in other areas. I''d really
2006 Nov 25
5
Metaphone analysis
Not sure how much this will interest people but I don''t have a blog so I''m
posting something I threw together today cause I think it might be useful.
In what little free time I have I''ve been wanting to put together a
Rails/Ferret based restful dictionary. So I finally got a chance to get
started today so the first thing I wanted to do was implement a metaphone
2007 Sep 19
1
CRAN mirror for R in India: new one at WBUT, how do we get listed in the CRAN website?
Dear All,
Folks at the West Bengal University of Technology has set up a mirror to
distribute R and associated packages. Here is the URL:
http://mirror.wbut.ac.in/CRAN
This will be helpful for R users in South Asia and the adjoining countries.
I have yet to see the site featured in the CRAN list of mirrors. What needs
to be done? For those of you who are impatient and would like to give it a
2024 Jan 30
1
R interpreting numeric field as a boolean field
Dear friend Duncan,
Thank you so much for your kind reply. Yes, that is exactly what is
happening, there are a lot of NA values at the start, so R assumes that the
field is of type boolean. The challenge that I am facing is that I want to
read into R an Excel file that has many sheets (46 in this case) but I
wanted to combine all 46 sheets into a single dataframe (since the columns
are exactly
2006 Jan 17
2
How to run direct sql
How can i run and get the value from the following sql:
select avg(my_field) from my_table where which_year=''0506'' and
which_week <= 21 and my_foreign_key_id=10
cheers
--
Posted via http://www.ruby-forum.com/.
2024 Jan 30
1
R interpreting numeric field as a boolean field
If you are using the read_excel() function from the readxl package, then
there's an argument named col_types that lets you specify the types to use.
You could specify col_types = "numeric" to read all columns as numeric
columns. If some columns are different types, you should specify a
vector of type names, with one entry per column. Allowable names are
"skip",