Questions tagged [fuzzy]

DO NOT USE - ambiguous: see fuzzy-search, fuzzy-logic, or image-processing for more appropriate tags.

Do not use this tag. It is ambiguous: see , , or for more appropriate tags.

363 questions
1
vote
1 answer

How to achieve the same as in Algolia with Elasticsearch

I've spent around a week tinkering with Elasticsearch. I'm trying to create a search query that will enable substring search ('kua lum' => 'kuala lumpur') and fuzzy search ('koala lumpur' => 'kuala lumpur') on all fields of the documents. So far…
1
vote
1 answer

Elastic Search Closest match with space in fields

I have data in elasticsearch fields which contains "face mask", I am able to fetch this data with the following query with search_term set to "face", "face mask", "mask" and "face masks". { "query": { "bool": { "must": [{ …
yousuf iqbal
  • 408
  • 2
  • 7
  • 16
1
vote
2 answers

Extract approximate key terms (fuzzy) from sentence in dataframe. R

My task is to extract specific words (the first word of the species name) from titles of journal articles. Here is a reproducible version of my dataset: df <- data.frame(article_title = c("I like chickens and how to find chickens", …
PanOle
  • 65
  • 6
1
vote
0 answers

how can make fuzzy commitment to take np array instead of bytes

I'm trying to use the fuzzy commitment in https://github.com/cburkert/fuzzy-commitment and i want to use witness as np array in: c = cs.commit(witness,message) where : message: A binary message to commit to. witness: A witness to the…
moh_ba
  • 11
  • 2
1
vote
1 answer

Copy approximate string matching from excel to another excel file using python

Hi I would like to ask on how to copy some of the row from one excel file to another excel file. By using python fuzzy matching method or ANY other feasible way, the entire row by according to the name is hope to be matched and copied into new excel…
Edison Toh
  • 87
  • 1
  • 11
1
vote
2 answers

fuzzy grouping in R

library(tidyverse) data <- tibble(city =c('Montreal','Montréal','Ottawa','Ottawa','New York','Newyork','New-York'), value = 1:7) data%>% group_by(city)%>% summarise(mean = mean(value)) and I'd like to obtain something like that but unfortunately…
olivroy
  • 548
  • 3
  • 13
1
vote
0 answers

AND operator in skfuzzy

I have the following three rules 1.If A is medium and B is low then quality is low 2.If A is medium and B is medium then quality is medium 3.If A is medium and B is high then quality is medium With this link as reference…
1
vote
2 answers

Python3.6 package for fuzzy matching that is neither regex, fuzzywuzzy nor tre?

I'm searching for something that lets me fuzzy match in Python 3.6 without using the following libraries/packages that have been discarted (not my project, so I cannot make a decision over it unless I find a solution to the problems these libraries…
1
vote
0 answers

Individual fuzzy membership values of a crisp number

Consider a trapezoidal membership function having values a, b, c, d. How can I define fuzzy membership function for four linguistic variables like {low, medium-low, medium-large, large} with a defined equation with all these four variables? In the…
1
vote
2 answers

Netbeans 11.1 looks blurred and enlarged with JDK13

My Netbeans 11.1 looks ugly when starting with jdk-13. Below you can see the the difference between jdk-13 (left) and jdk-8 (right): I've already tried to change the keys -J-Dsun.java2d.dpiaware, -J-Djdk.gtk.version, and tried it with open- and…
1
vote
1 answer

Tried understand the Soundex algorithm in Python

What does this number parameter in Soundex function mean? Code: import fuzzy soundex = fuzzy.Soundex(6)
P.Hazarika
  • 11
  • 2
1
vote
1 answer

How to fix case-control matching with SPSS fuzzy command

I am trying to create a 1:4 case-control match in my data, but the final dataset does not incldue any controls. Why is it? I am using SPSS 23 with 745,414 observations, 595,388 controls and 150026 cases (20.1% a 1:4 ratio). The cases and controls…
1
vote
1 answer

QueryParser.parse, restrict the distance between words

I am using whoosh package to do full-text fuzzy match. My current code is as follows: from whoosh.index import create_in from whoosh.fields import * from whoosh.query import FuzzyTerm class MyFuzzyTerm(FuzzyTerm): def __init__(self, fieldname,…
dara wong
  • 37
  • 5
1
vote
1 answer

Partial String Matching within Groups

I have data that includes a group (Area) and then also provides a name. I am trying to merge two data frames. One frame is much smaller and is the "mapping" data frame. It has one row for each Name within an Area. The other frame is much larger and…
Kskiaskd
  • 35
  • 5
1
vote
1 answer

can Google Places API do a fuzzy search

Can I set Google Places API to do a fuzzy search? It seems Google map search (which use JavaScript) does that automatically, but it appears the REST API does not. I am frustrated by having to type in the accurate hotel name....any spelling errors…
Mikael
  • 11
  • 1