Questions tagged [phrases]
48 questions
11
votes
4 answers
Regular Expression to match two separate phrases
I am looking for a regular expression that can ensure two phrases showing up on a webpage at the same time.
The two phrases I need to ensure on the web are Current QPS (last 10s, ignored 0) and Average Latency (last 100 queries)
The webpage looks…

Madean
- 129
- 1
- 2
- 9
10
votes
1 answer
Predicting phrases instead of just next word
For an application that we built, we are using a simple statistical model for word prediction (like Google Autocomplete) to guide search.
It uses a sequence of ngrams gathered from a large corpus of relevant text documents. By considering the…

Jedi
- 3,088
- 2
- 28
- 47
8
votes
1 answer
Python: Chunking others than noun phrases (e.g. prepositional) using Spacy, etc
Since I was told Spacy was such a powerful Python module for natural speech processing, I am now desperately looking for a way to group words together to more than noun phrases, most importantly, prepositional phrases.
I doubt there is a Spacy…

Malte Ge
- 153
- 3
- 12
5
votes
3 answers
Opposite of 'Ancestor' in OOP
I am looking for the best term to use to describe a child that inherits an ancestor.
For example, a 'Car' object may derive from its ancestor 'Vehicle'. However, is there a better/more suitable word to use than derivative for the inverse?

Niall Walker
- 155
- 1
- 12
5
votes
3 answers
How to get frequently occurring phrases with Lucene
I would like to get some frequently occurring phrases with Lucene. I am getting some information from TXT files, and I am losing a lot of context for not having information for phrases e.g. "information retrieval" is indexed as two separate…

Julia
- 1,217
- 8
- 23
- 46
4
votes
3 answers
Extract translation phrases from Magento
I'm relatively new to Magento and working on a site build for a client and they simply need a list of phrases used throughout the site to be sent to a translator. I'm a little surprised that there isn't something simple and built into Magento for…

Chris Forrette
- 3,194
- 2
- 28
- 37
4
votes
6 answers
Algorithm for generating a 'top list' using word frequency
I have a big collection of human generated content. I want to find the words or phrases that occur most often. What is an efficient way to do this?

Ryan
- 11,743
- 16
- 37
- 37
2
votes
0 answers
Endeca 6: phrasing isn't triggered for phrases with special characters
The special characters are
,
.
+
-
These characters had to become searchable because of other needs.
According to Endeca guides, because they are searchable, they can be used in phrases as well ie "apple + orange".
The problem is that this…

Panagiotis Stoupos
- 140
- 1
- 12
2
votes
2 answers
Best Data structure to store and search phrases in C++
I use the tries data structure to store words. Now, I have a requirement which needs , to find, given a paragraph, if certain phrases are present in the same paragraph.
What would be the most efficient way for doing this? The total number of…

Umashankar Das
- 601
- 4
- 12
2
votes
1 answer
Solr Spellcheck for Multi Word Phrases
I have a problem with solr spellcheck suggestions for multi word phrases. With the query for 'red chillies'
q=red+chillies&wt=xml&indent=true&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true
I get
…

NLan
- 21
- 3
1
vote
1 answer
Finding and ranking multiple phrase matches in lucene indexed documents
Given a series of documents containing text, I'd like to search for phrases and return all the matches and rank them. I know how to get lucene/solr to indicate which documents matches, and do highlighting within the document, but how do I get a…

Chris Leishman
- 1,777
- 13
- 19
1
vote
1 answer
Solr configuration for autocompletion implementation with php
how do i have to index my data and configure solr and my search options in solr, that an autocompletion (like google) with the following requirements is possible:
Products:
- We have products with their titles, descriptions, id's, e.g. for the…

ramo
- 353
- 6
- 22
1
vote
1 answer
Word and phrase counting with XSLT
We would like to build a dictionary of the documentation of the products our company makes, to create a fixed terminology, so we would like to count the frequency of specific words and phrases.
This could be solved in a couple of different ways,…

Dávid Zsámboki
- 13
- 5
1
vote
1 answer
How to extract meaning of colloquial phrases and expressions in English
I am looking into extracting the meaning of expressions used in everyday speaking. For an instance, it is apparent to a human that the sentence The meal we had at restaurant A tasted like food at my granny's. means that the food was tasty.
How can…

Fleur
- 666
- 1
- 8
- 29
1
vote
0 answers
Data source of English speech phrases
I am doing a research on developing a simulated environment for the students (who use English as second language) to practice English speaking.
In one part of my development, I need a data source which contains mostly using English speech phrases…

Dilunika
- 163
- 3
- 10