Looking for an optimized Algorithm for finding Keywords of a text?

Looking for an optimized Algorithm for finding Keywords of a text? Topic: Memory research article
July 19, 2019 / By Devin
Question: Hi, I already wrote a code for finding keywords for finding keywords of a text like this: 1> extracting the words from doc 2> normalizing words (like removing -ing from the end of verb) 3> finding frequency of words (counting how many same words appears ) 4> dropping words with undesired frequency (like 1 or 2) 5> removing stopwords 6> the rests are keywords but I think it's not optimized , I also wanna find keywords with more than one word like "United Nations", but with these I can't find these. so can you recommend a way how to optimize my algorithm to find keywords with more accuracy and also find more than one word keyword? any advices or articles about that are really appreciated , Thanks in advance
Best Answer

Best Answers: Looking for an optimized Algorithm for finding Keywords of a text?

Bert Bert | 2 days ago
Try a custom encoding for your chosen character set that will shrink the data. If you use English Only words, there are only 26 letters of the alphabet + delimiter which can be encoded in 5bits per character if using a constant bit per character allocation. Using some form of variable bit length to encode would also make alot of sense. Characters more frequently used will require shorter bit length and less frequent characters will use more bits. You can research the frequency table for English characters. There's plenty done on it. The encoded file will be much shorter and therefore can speed up the Word Finding. "United Nations" - both words' first character are capitalised. 2> Normalizing words by removing -ing doesn't work for words such as: sing, bling, king, bing, ping, thing ========= Thirdly, and most importantly. You should create separate files for each word length. That is, all two letter words should go into the twoletter.file, and three letter words should go into the threeletter.file. This should be the same in random access memory. You should create arrays (or buffers) for different word lengths. In this way the variable bit encoding for characters can result in even smaller size still. And the Word Finding is also much optimised.
👍 112 | 👎 2
Did you like the answer? Looking for an optimized Algorithm for finding Keywords of a text? Share with your friends

We found more questions related to the topic: Memory research article

Bert Originally Answered: Can I include individual keywords in my website text?
Stick to one keyword if u try multiple key u can b penalised by seo and drops ur pagerank on the basis of manipulating.
Bert Originally Answered: Can I include individual keywords in my website text?
Google does look at all of the words and it makes a big difference on which one you use to how many people are actually searching for that term. Use Google adwords free keyword tool to see which of these three are more important. https://adwords.google.com/select/KeywordToolExternal Also I'd suggest looking for some new terms. using the Google keyword tool this is what I found - Weekly business Planner - gets 91 global searches a month (this is horrible) Online business planner - gets 260 global searches a month (this is bad too) Ultimate business planner - gets 320 global searches a month (not worth optimizing) I've posted a blog about this that you might want to check out to test some more keywords and has some tips. http://www.elliottlemenager.com/2010/09/03/how-to-use-google-adwords-to-define-keywords-for-defining-your-audience-and-social-engagement/ out of anything just go to the keyword tool type business planner it will show you the search volume of the keyword and will give you suggestions as well. The main goal is find a keyword or keywords that have a high search volume but with minimal competition. And it does matter if you use the phrase or one word. Google looks at it very different. But make sure that you don't use the word to much and the article or post is still relevant to that topic. Once you have that knocked out start looking into building back links (other relevant sites link back to you)
Bert Originally Answered: Can I include individual keywords in my website text?
Google will parse every word there is, no matter what, and group them into any amount of phrases that is warranted to match it up to something someone is searching for. My recommendation is to make sure the content looks natural, and use the most important phrase the most number of times. Make sure you use the phrase in the Title tag, which is one of the most important SEO tactics. Use it in the first 100 words of the text also. If you use the other words nearby but not next to "business planner", Google may still return your page as a result for the phrase, but it's better to have the phrase all together. Just don't try to do too much optimizing or the page will look fake.

Abishalom Abishalom
Finding Google's search algorithm is like finding the formula for Classic Coke or the Colonel's spice recipe. Trade Secret. They're not releasing it. If they did, not only would their competitors jump on it, but the people who do Search Engine Optimization (SEO) for wanna-be websites would all figure out how to spoof it to get their sites to the top of the list. Good luck.
👍 40 | 👎 1

Abishalom Originally Answered: Searching a field with a paragraph of text for a column containing keywords. Excel Help?
This can easily be done in Excel using a VBA event handler. The following example assumes the paragraph will be pasted into cell C1. Copy this event handler to the clipboard (highlight the entire code, right click inside the highlighted area, and 'Copy'). Private Sub Worksheet_Change(ByVal Target As Range) Dim i, LastRow, kWrd On Error Resume Next LastRow = Range("A" & Rows.Count).End(xlUp).Row If Target.Address(0, 0) <> "C1" Then Exit Sub Else Range("BN1:XFD1").ClearContents Range("C1").Copy Destination:=Range("BN1") Application.CutCopyMode = False Range("BN1").TextToColumns Destination:=Range("BN1"), _ DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _ ConsecutiveDelimiter:=True, Tab:=True, Semicolon:=False, _ Comma:=True, Space:=True, Other:=False, FieldInfo:= _ Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1)), _ TrailingMinusNumbers:=True For i = 1 To LastRow For j = 66 To 566 If UCase(Cells(i, "A").Value) = UCase(Cells(1, j).Value) Then kWrd = kWrd & Chr(10) & Cells(i, "A").Value & " " & Cells(i, "B").Value End If Next j Next i End If If kWrd <> "" Then MsgBox kWrd, vbOKOnly, "Match Found" Else MsgBox "No Match", vbOKOnly, "No Key Words" End If Range("BN1:XFD1").ClearContents End Sub Select the worksheet to containing the keywords and right click the sheet tab at the bottom. Select 'View Code'. Paste the event handler into the white editing area to the right (right click inside the area and 'Paste') Close the VBE (red button - top right). Save the workbook a a Microsoft Excel Macro-Enabled workbook to retain the VBA functionality when the workbook is opened in the future. Archive, or delete, the original version to prevent confusion as to which to use. Copy and paste a paragraph into cell C1 and press ENTER. A message box will display containing all found keywords and their associated value. Note: this process is not case sensitive. It will parse 'cat', 'CAT', 'Cat', and even 'CaT' as a match.
Abishalom Originally Answered: Searching a field with a paragraph of text for a column containing keywords. Excel Help?
Hey, Let’s say your list of keywords is in A1:A3 and are Apple Banana Orange Let’s say your B column has: Red Yellow Orange Let’s say if the keyword is mentioned you would like to be displayed in the respective row in the D column. Finally let’s say your “search” box is C1. In Cell D1 input the below formula: =IF(ISNUMBER(SEARCH(A1,C1))=“TRUE”,B1,”... The above is essentially saying if Apple (in A1) is mentioned in C1, then show Red (B1) in this cell. If Apple is not mentioned then show the cell as blank. I hope this works for you. Best Wishes

If you have your own answer to the question memory research article, then you can write your own version, using the form below for an extended answer.