matching

fingerprint matching algorithm! [duplicate]

筅森魡賤 提交于 2019-12-11 23:49:11
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: iso 19794-2 fingerprint format. Hi all, I need to develop a system to match fingerprints. all fingerprints are already converted to ISO 19794-2 format. the input will also be in ISO 19794-2 format. how to check whether the input and the fingerprints in database matches or not. is there any algorithm to implement it? i need an algorithm to compare two fingerprints in ISO 19794-2 format. It would be more helpful

Detect in list2 if there are any strings (whole or part of bigger string) that is contained in list1

时光怂恿深爱的人放手 提交于 2019-12-11 21:15:27
问题 I have two lists: list1<-list("q","w","e","r","t") list2<-list("a","a","aq","c","f","g") I need a code that will give TRUE because q is in the third cell of list2 . I need to search for every cell of list1 in list2 . I mean that I need to search every cell of list2 for any strings that are contained in every cell of list1 . Matching should be as for the whole match but also for partial (if string from list1 is a part of the bigger string in list2 ) and in both cases I need to receive TRUE .

Exact age matched match with Matchit doesn't work.

妖精的绣舞 提交于 2019-12-11 16:48:59
问题 I am trying to perform a case-control exact matching by age. My database is composed of 139 eyes of 75 patients divided into 2 group by a dichotomy variable (G6PDcarente= 0/1). I am trying to perform the matching with the code: match.it <- matchit(G6PDcarente~age, data = newdata, method="exact",ratio=1,replace=FALSE) match.it The problem is that the results are: Exact Subclasses: 14 Sample sizes: Control Treated All 43 85 Matched 31 42 Unmatched 12 43 Why is the sample size of the matched

matching a dynamic xslt template

孤者浪人 提交于 2019-12-11 16:28:45
问题 OK so I have an xslt issue that I cannot seem to solve. This is my second attempt at asking the question please do not mark as duplicate. My issue is that I would like to include some HTML after the fourth <p> tag in my document. The issue is that there can be <p> tags with the attribute class="exclude" If the <p> tag has that class, I would like to not render that paragraph. At the same time, I would still like to render my included html after the 4th paragraph, regardless of the number of

How to determine a string PARTIALLY contains another string ? (preferrable Java) [closed]

孤人 提交于 2019-12-11 11:06:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm doing a java project which needs to determine whether a string contains another string following below logic: A parent string "This is a parent string" contais "isstr" should return true. Because all the characters of "isstr" can be found in parent string preserving substring order. contains should be case

C# Matching items in different lists

天涯浪子 提交于 2019-12-11 08:39:03
问题 I have two different lists of objects, one of them an IQueryable set (rolled up into an array) and the other a List set. Objects in both sets share a field called ID; each of the objects in the second set will match an object in the first set, but not necessarily vice versa. I need to be able to handle both groups (matched and unmatched). The size of both collections is between 300 and 350 objects in this case (for reference, the XML generated for the objects in the second set is usually no

RegEx: Grabbing value between quotation marks from string

回眸只為那壹抹淺笑 提交于 2019-12-11 07:44:39
问题 This is related to: RegEx: Grabbing values between quotation marks. If there is a String like this: HYPERLINK "hyperlink_funda.docx" \l "Sales" The regex given on the link (["'])(?:(?=(\\?))\2.)*?\1 is giving me [" HYPERLINK ", " \l ", " "] What regex will return values enclosed in quotation mark (specifically between the \" marks) ? ["hyperlink_funda.docx", "Sales"] Using Java, String.split(String regex) way. 回答1: You're not supposed to use that with .split() method. Instead use a Pattern

Increasing speed of matching strings in list

无人久伴 提交于 2019-12-11 06:34:46
问题 I have >20MB text files with some lines containing * at some positions. Accordingly should remove from this file positions matched with position containing * (e.g 700670* should cause to remove all positions 70067000000 to 70067099999). First I make list of positions to remove the code is: Parallel.ForEach(List, (pos) => { if (pos.IndexOf("*") != -1) { var lineWithStar = pos.Substring(0, pos.IndexOf("*")); var result = from single in List where single.Substring(0, lineWithStar.Length) ==

Find matching groups of strings in R

痞子三分冷 提交于 2019-12-11 05:32:58
问题 I have a vector of about 8000 strings. Each element in the vector is a company name. My Objective My objective is to cluster these company names into groups, so that each cluster contains a group of company names that are similar to each other (For example: ROYAL DUTCH SHELL, SHELL USA, BMCC SHELL etc... will belong to the same group/cluster, as they are all Shell-based companies i.e. they have the word 'Shell' in their names). When dealing with a vector of this size, it seems to be taking

User matching with current data

北城以北 提交于 2019-12-11 02:36:12
问题 I have a database full of two different types of users (Mentors and Mentees), whereby I want the second group (Mentees) to be able to "search" for people in the first group (Mentors) who match their profile. Mentors and Mentees can both go in and change items in their profile at any point in time. Currently, I am using Apache Mahout for the user matching (recommender.mostSimilarIDs()). The problem I'm running into is that I have to reload the user data every single time anyone searches. By