Questions tagged [phrase]

210 questions
1
vote
1 answer

How to do partial phrase matching with boosting in Solr

We applied boosting and phrase boosting as below: https://localhost:8983/solr/app_index/select?bq=(Title:"userinput")^20+ +(Desc:"userinput")^10&pf=(Title:"userinput")^20+(Desc:"userinput")^10 …
Thamizh
  • 29
  • 6
1
vote
2 answers

Phraseapp: Command not found

I'm new to using phraseApp and fastlane. I was trying to pull the latest changes in Phraseapp using fastlane. After calling "phraseapp_all" I get an error message Exit status of command 'cd ../Project/Resources && phraseapp pull' was 127 instead of…
Jongers
  • 595
  • 1
  • 9
  • 29
1
vote
1 answer

Elasticsearch Phrase Suggestion problem with ngram indexed data

I need to implement a phrase suggester for spell checking querys. I have data indexed with an analyzer that use an edge_ngram tokenizer. "suggestion_tokenizer": { "type": "edge_ngram", "min_gram": 2, "max_gram": 10, …
1
vote
1 answer

How to phrase/explode XML data?

I'm trying to create a printer ink shop from an xml file. In XML are ID, name, category and description. In description after the words Toner pasuje do drukarek: and before Pokrewne kody: lists are the printer models to which the ink fits (each…
Emil
  • 11
  • 1
1
vote
1 answer

How & Where to Locate Phrase OTA downloaded translation files?

I've implemented the 'Phrase' SDK to simply 'push and pull' translations, it's working fine. Now while implementing PhraseSDK(OTA version), I am able to update the translations as well using Phrase.shared.updateTranslations method during…
Bista
  • 7,869
  • 3
  • 27
  • 55
1
vote
1 answer

Gensim Phrase model parameters (threshold)

Could someone please explain to me what does the parameter threshold do in the Phrase model of Gensim? and how to choose it when it comes to train a dataset that contains a lot of data? I searched among many tutorials but still didn't get a clear…
1
vote
2 answers

count top most frequent phrases in a text column in pandas

I have a pandas dataframe with a text column which has 50 phrases for each record separated by "|" and i want to count the top 50 phrases in the whole data. for example consider the column "text" in data has 4 phrases in each row separated by a…
datadigger
  • 101
  • 7
1
vote
2 answers

ElasticSearch - Phrase match on whole document? Not just one specific field

Is there a way I can use elastic match_phrase on an entire document? Not just one specific field. We want the user to be able to enter a search term with quotes, and do a phrase match anywhere in the document. { "size": 20, "from": 0, …
Allen H.
  • 318
  • 6
  • 19
1
vote
1 answer

Is there a pretrained Gensim phrase model?

Is there a pretrained Gensim's Phrases model? If not, would it be possible to reverse engineer and create a phrase model using a pretrained word embedding? I am trying to use GoogleNews-vectors-negative300.bin with Gensim's Word2Vec. First, I need…
E.K.
  • 4,179
  • 8
  • 30
  • 50
1
vote
0 answers

Phrase input in C++

I have a quick question about text input in C++. I have a code where I can input text and then output it. I want to be able to insert multiple words without using "_". For example, instead of writing "Make_breakfast", I want to write "Make…
1
vote
2 answers

Use gensim phraser on pandas column using apply method

I am trying to use gensim phraser on a column in a df. The sample df is given below col1 col2 1 "this is test1 and is used for test1" 2 "this is content of row which is second row" 3 "this is the third row" I have wrote a method…
Sid
  • 552
  • 6
  • 21
1
vote
1 answer

How can we make few tokens to be phrase in elastic search query

I want to search part of query to be considered as phrase .For e.g. I want to search "Can you show me documents for Hospitality and Airline Industry" Here I want Airline Industry to be considered as phrase.I dont find any such settings in…
1
vote
1 answer

How to Extract IP address using regex using spacy Phrase matcher

text="Link down , Bypass (92.33.2222.88) is not pinging" doc=nlp(text) pattern= [ {"TEXT": {"REGEX": "[\(][0-9]+[\.][0-9]+[\.][0-9]*[\.][0-9]*[\)]"}}] matcher=Matcher(nlp.vocab) matcher.add("ip",None, pattern) matches=matcher(doc) matches [] …
1
vote
4 answers

To find first word of a sentence in mongodb of specified size

I want to find the first word from a sentence(phrase) whose size is less than 3 letters.Is there any way i could find it? please suggest. I have used .map(function(st){return st.split(" ")[0];} function it gives me all the first words in array…
Explorer
  • 37
  • 6
1
vote
0 answers

Angular 8 Multi phrase search using ng2-pdf-viewer

I'm working on an angular8 application and displaying a PDF using ng2-pdf-viewer library. Currently, I'm able to search the PDF for a single phrase using the code below. searchQueryChanged(searchStr: string) { if(searchStr != null &&…