I would like to return the top 50 most popular words
HI, I have a text column in mssql, I would like to return the
top 50 most popular words and their count(for all rows) excluding
the words
i
a
it
the
Any clue how to do this?
I done it with code like this, but it took about 200 seconds to finish and generated 300000 rows in WORDS
it would be cool if it could be done in pure sql, mabye it could be done using ms sql cursors
<cfset datasource = application.datasource>
<cfset datasource = application.datasource>
<cfquery name="q" datasource="#datasource#">
select * from staff
</cfquery>
<cfloop query="q">
<cfloop list="#comment#" index="word" delimiters=" ,?,.,!,;#chr(10)##chr(13)#">
<cfquery name="q2" datasource="#datasource#">
insert into WORDS values(
<cfqueryparam value="#word#" cfsqltype="cf_sql_varchar">
</cfquery>
</cfloop>
</cfloop>
Similar Messages
-
Hello! I would like to know the procedure to turn a word document into a PDF document via Adobe Reader. Do I have to pay for it or just sign up? Thank you in advance.
"...the procedure to turn a word document into a PDF document via Adobe Reader."
Not possible.
No version of Adobe Reader can:
--| create PDF
--| manipulate PDF page content
--| export PDF page content
Adobe Reader XI does provide a "connection" to various Adobe hosted online subscription services (that are under "acrobat.com").
There is a subscription services can create PDF from supported file formats that are uploaded to the service.
This subscription service is "PDF Pack".
With an active (paid up) subscription to a service one can make use of the service.
Be well... -
Top N most frequent words in a data set in Numbers
I have 3 columns of data in 10,000 rows and i would like to find out the top N most frequent words. I don't have a list of words before hand, rather i would like the algorithm/function to determine the top N most frequent words.
any help would be greatly appreciated.naser,
This generally takes an extra columns
Here is an example that does what you wnat in a single table:
There are three sections:
1) Columns A and B: column A contains the list of words, column B lists the "ID" of each new word
2) Columns D, E, and F: column D contains the list of unique words, E contains the number of occurances of each word, and F contains a fancier ID (to make words with the same count have slightly different counts)
3) Columns H, I, and J: column H contains the ranked IDs from highest to lowest, column I contains the corresponding word, and column J contains the count for that word
B2=IF(ISBLANK(A2),"",IF(IFERROR(MATCH(A2,A$1:A1,0), 0)>0, "",MAX($B$1:B1)+1))
D2=IF((ROW()−1)>MAX(B),"",LOOKUP(ROW()−1, B, A)
E2=IF(D2="","",COUNTIF(A,D2))
F2=IF(E2="","", VALUE(E2&"."&ROW()−1))
H2=IF(F2="", "", LARGE(F, ROW()−1))
I2=LOOKUP(H2,F,D)
J2=LOOKUP(H2,F,E)
select B2 thru J2, copy,
select Columns B thru J
hold the command key and click B1, C1, D1, E1, F1, G1, H1, I1, J1 (to unselect them)
paste
To limit the number of words, make the following change:
G1 contains the number of words you want
H2=IF(OR(F2="" ,(ROW()−1)>$G$1), "", LARGE(F, ROW()−1))
select H2, copy,
select column H, then unselect H1
paste -
I just bought an ipad 2, it has not arrived but i would like to cancel the order because that was not the one I wanted. Do I get my money back if I make a return?
You will need to talk to Apple, they would be the only ones who can tell you. We are just a user to user forum here.
-
Ok i work at a military base and there were iPod touch's given out to some units and I have found one and would like to return it but don't know the owner so is there a way to track a name with the serial number? Or how can I find out who owns it?
No. Turn it into the military police.
-
So I downloaded acrobat XI Standard from the Adobe website, when I go to install it, it says "Adobe XI Pro" at the top left corner. Can anyone shed some light on this for me? I have a volume license for XI Std. so I would like to use the Std. version.
login and download your software from the adobe volume licensing website, Customer resources | Adobe Buying Programs
-
I have an image that I removed from its back ground and I would like to scale the bottom portion of the image because its to wide but not have that effect the top portion of the image which is the correct width. but also keep the aspect ratio correct, keep it looking as natural as possible (its a piece of jewlery) ? how can I begin to do this.
The area circled in red is to wide (the width) the necklace's width is as wide as the models entire chest. And also the length of the necklace it's to long it should come down to the clevage area on the model/woman.
-
I found a iPad Mini and would like to return it to the original owner. I believe it was previously stolen and it cannot be activated. Any idea how I can get it back to the original owner?
I am very disappointed (yet I somewhat understand) Apple and how they completely have no interest in helping return lost items. I don't believe the person who traded me this was from around here so I don't even know where to begin. I seen on ebay you can sell them for parts but I don't really believe in doing that and would like to at least try my best to get it back to whom it belongs to. I will be contacting my local police department regarding this but I don't think they will be able to do much if it was stolen from somewhere else. However if nobody claims it in 90 days and I have a letter from my local police station saying I am the new owner, will that be enough for apple to unhold their policy of proving the item belongs to you?
-
Good morning. I returned to live in Brazil and I need to use my iPhone4s here but that are blocked by verizon and I will would like to request the unlock of this. Does someone know how to do this?
I don't have my account anymore ttipgem.....
-
I would like to change the current song from the pull down tab so that I don't have to exit whatever app I'm in, return to music and change it. Is this possible?
Try double clicking the Home button and then swipe the bottom row fully to to the right to get to the music control
-
When printing envelopes, I have a logo next to my name on the return address. I would like to remove the logo but I cannot figure out how. Any suggestions?
Hi Shayes,
You can change the default download location by going to ''Tools > Options > General''. The [[Options window - General panel]] has some extra information on all of the options available.
Hopefully this helps! -
My iPod touch is a model MB528LL and runs version 4.2.1. I would like to download the At Bat 12 app. (the $14.99 version) so I can listen to professional baseball games this year. Will there be an app. available for my iPod this year?
I went to the link you posted and followed all the steps. I was thrilled to see that it worked! I don't recall whether my PC still recognized my iPod Touch as a camera or not, but DEVICES did show up in iTunes and it recognized the name of my iPod Touch.
Now, though, everything is back the way it was. The PC tells me I have a camera connected via USB and iTunes doesn't even have DEVICES listed in the left-hand column.
I'm wondering if this is the problem: I had the iPod on until the battery was so "low" that it stopped. I didn't press and hold the button on top. In fact, until I read the article you linked to, I didn't even know you could turn the iPod on and off that way. I would only press it once until the screen turned blank and simply pressed the Home buttom to turn it back on. Until I read that article, I thought the Home button was the On button.
So now my question is this: Should I ALWAYS turn the iPod off by pressing and holding the button on top until I see the red slider on the screen?
Thanks! -
I would like to use the windows explorer open dialog box instead of the adobe open dialog box. How can I change that?
The top screenshot is the Windows Open dialog box. All File > Open... commands in all Windows programs bring it up. Try File > Open in Notepad for example.
It belongs to Windows not Adobe. You cannot change this because there is no such thing as an Adobe Open dialog box.
The bottom screenshot is Windows Explorer. It is Windows' OS File Browser, not an Open dialog. It is not called up by Photoshop or any Windows program.
You have to click on "My Computer" or a Folder icon to get to it. You can double-click a psd, jpeg or other image file in the Explorer window so that it opens in Photoshop.
There is Adobe Bridge and Minibridge Alt + Ctrl + O or File > Browse in Bridge -
Adobe Flash Player not working. Installen latest version. Get the following: "This website would like to run the following addon: Adobe Flash Player from Adobe System Incorporated." Then asking me to allow it for current or all websites. It doesn´t matter how i do this. The pop-up question returns EVERY time. What do i do to solve this issue???
To give you any useful advice, I'm going to need to know more about your computer and browser:
https://forums.adobe.com/message/5249945#5249945 -
I would like to cancel the annual membership
I would like to cancel the annual membership.
This is an open forum, not Adobe support... You need Adobe support to cancel a subscription
-cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
-or http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
-or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
Maybe you are looking for
-
Error while posting vendor clearing F-44
Hello Sap experts, when we are trying to do vendor clearing in F-44, facing an error that "the entry EN 3 is missing in table 021T" message no FS100 when we tried it in t.code SE16N, we could not find this table. Kindly suggest what to do. Thanks &
-
Installing Photoshop Elements 13 Fails Extracting Files
I get an error when I attempt to install Adobe Photoshop Elements 13 on my Windows 7 x64 machine. It fails when extracting files. I have full read and write permission on my desktop. I also have plenty of space. I double checked requirements on th
-
Getting new windows to open in firefox
Hey guys. Ive made a page where when you click on a pic, and a new window opens up. I controlled the size and all that with java script. Theres a link in that popup which i want to open another new normal window. By making the target blank it works f
-
DVI out port output @ 1920x1080?
I have a 15" macbook pro (2nd gen i believe, it has the full aluminum casing and touchpad supports gestures). I was wondering if the DVI Out supports up to 1920x1080 resolution (without any scaling, ect.)? I was looking to buy a 1920x1080 native LCD
-
To generate PDF using BI APIs and loadjava utility
Hi All, I am trying to generate PDF using BI APIs(FOProcessor etc). I have generated XML data through the PL/SQl procedure and storing it in a file. This file is loacted in database tier. The APIs is used through a simple java program which is applic