Questions tagged [phrases]

48 questions
1
vote
1 answer

dynamically populate VoiceCommand PhraseList, Error VoiceCommandSet not found

I am looking for a way to dynamically populate my VCD file. I have a Code snippet from the Windows documentation that reads as follows: Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition.VoiceCommandSet commandSetEnUs; if…
7gegenTheben
  • 81
  • 1
  • 10
1
vote
0 answers

R: Using GraphNEL, term frequency of extracted keywords

I'm running the below code to extract key phrases from a raw data file. While i am successfully able to do it, i am not able to get the frequency or count of the extracted keywords which would help me understand the ranking of the occurrence of the…
1
vote
1 answer

Statistical sentence suggestion model like spell checking

There are already spell checking models available which help us to find the suggested correct spellings based on a corpus of trained correct spellings. Can the granularity be increased to "word" from alphabet so that we can have even phrase…
stackit
  • 3,036
  • 9
  • 34
  • 62
1
vote
1 answer

Find phrases using mysql and php

I am working on a project and I need your suggestions in a database query. I am using PHP and MySQL. Context I have a table named phrases containing a phrases column in which there are phrases stored, each of which consists of one to three words. I…
ahsan3123
  • 11
  • 3
1
vote
1 answer

Extract Arabic phrases from a given text in java

Can you help me in finding a regex that take list of phrases and check if one of these phrases exist in the given text, please? Example: If I have in the hashSet the following words: كيف الحال إلى أين أين يوجد هل من أحد هنا And the given…
Programer14
  • 165
  • 13
1
vote
1 answer

Repeated Phrases in text Python _ Follow up

Another user already opened the discussion on how to find repeated phrases in Python, but focusing only on phrases of three words. The answer of Robert Rossney was complete and working (it is here repeated phrases in the text Python) , but can I ask…
hugi coapete
  • 225
  • 2
  • 10
1
vote
0 answers

How to work with solr phrases

I'm using solr4.1.0 and I'm trying to get common word phrase search to work. This means when searching for "the cat" I want documents containing this phrase to be shown, but not documents containing "the" and "cat" somewhere or in different…
chammp
  • 822
  • 1
  • 10
  • 20
1
vote
1 answer

htaccess and polish phrases - friendly url

I have to create a friendly url with polish phrases. Finally, my .htaccess should accept all letters (and polish letters too), numbers, plus(+) and minus(-). Can you help me? Thanks! My url: cat-3,woj-4,Kraków My htaccess: RewriteRule…
user3022527
  • 2,107
  • 2
  • 14
  • 11
1
vote
0 answers

Solr... how to make search and correction word together?

I have two list (really there are many ) that i need to match between them. for example: I have a documents like: Manchester United Arsenal FC Wigan ... Second list is like: Manchester U. Arsenal Wigan FC ... so, i need to query if each words…
Deggialx
  • 11
  • 3
1
vote
1 answer

I want to extract multiple instances of alt text with regex but not sure how

I was using this (?<=alt)[\w\s\,\/\(\)\.]* to extract the first alt text. This is great but there are multiple alt texts that I would like to extract. I am using regex inside visual web ripper The code I am extracting from is
1
vote
1 answer

Detecting phrases in two or more Javascript strings

I am wondering if there's an easy way to detect "phrases" in two strings without it being in quotes. For example: "i like jack in the box" and "jack in the box has good food" In this case, "jack in the box" would be detected. Now I could…
ewindsor
  • 885
  • 10
  • 24
0
votes
1 answer

Searching for non-common phrases with Facebook API

Is it possible to obtain results for non-common phrases (such as URLs for example) ? I tried to encode my phrases. I used PHP urlencode() function to try to look for posts containing…
0
votes
0 answers

mysql: Mining for keywords and phrases

I would like to get popular words and phrases (up to 3 words) from my products database table. I tried using sphinxsearch service for that which was great, except.. The result it give are plain txt words - without slovenian special chars (čžš) that…
DS_web_developer
  • 3,622
  • 13
  • 52
  • 83
0
votes
0 answers

Can readLines be used ngram processing for R?

I am trying to figure the frequency of phrases made up from one to eight words. I have been reading about text mining for phrases here and elsewhere and have found out that using ngram tokenization will be the best way to go. However, when I copy…
0
votes
1 answer

Jquery: how to produce 1 of 3 phrases when event happens

I have a bookmarking feature on my site, when the person clicks a paragraph, the box that is already hovering over that paragraph that reads "bookmark this" inserts "sweet man" in place of "bookmark this". so 'bookmark this' disappears and "sweet…
android.nick
  • 11,069
  • 23
  • 77
  • 112