Questions tagged [text-comparison]

42 questions
0
votes
1 answer

Finding similar lines in text - Phasing - Dynamic comparison

I have a small bioinformatics problem that I think should be easy to solve. Related to "genotype phasing". But I'm not sure how to tackle it. In the extract below, the first column are identifiers, the subsequent columns are binary genotypes…
Yannick Wurm
  • 3,617
  • 6
  • 25
  • 28
0
votes
0 answers

Compare two word document in c#

I have a problem. I need to compare word document. Text and format in c# and i found a third party library to view and process the document and it is Devexpress. So i downloaded the trial to check if the problem can be solved with this Example i…
Ramon bihon
  • 385
  • 1
  • 5
  • 18
0
votes
1 answer

Java : Checking if 2 text-paragraphs are different giving error at delete sentence

I am working on a Java application which is for note-taking. Now, whenever the user edits the text in the note, I want to find the difference between the oldText and the newText so I can add it to history of that note. For this I am dividing each…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
0
votes
1 answer

How does SQL server treat text comparisons with LEADING spaces

Much is made (and easily able to be found on the internet) about how you do not need to use where rtrim(columnname) = 'value' in sql server, because it automatically considers a value with or without trailing spaces to be the same. However I've…
Isaac
  • 351
  • 1
  • 4
  • 21
0
votes
1 answer

Excel VBA: "invalid procedure call or method" when setting CompareMode to TextCompare with Dictionary

For some reason, I cant set the CompareMode in the dictionary offONameDic to TextCompare. I keep getting a "Invalid Procedure or Call Error". I want to ensure that the capitalization of a, let say, user provided provided key does not affect ability…
CSAW
  • 114
  • 1
  • 3
  • 16
0
votes
1 answer

I would like to compare to set of text and get how similar/relevant they are to each other, I use similar_text(), but i found out its not as accurate

I would like to compare to set of text and get how similar/relevant they are to each other, I use similar_text(), but i found out its not as accurate. Thank you. For example the following text gives me 66% Text1: Innovation game, eat, sleep,…
Wakaitu
  • 3
  • 1
0
votes
3 answers

Saving and comparing table cell values

I'm creating a simple memory matching game and I want to compare the text-value of each clicked cell to see if a match is made. The click event handler at the bottom is my attempt to do so but I'm not sure how to save which cell was clicked. How do…
user2449973
  • 123
  • 2
  • 7
0
votes
1 answer

Compare XML file with Text File

I have two files to compare with each other... 1) An xml file 2) A text file made from same XML but have some changes done afterwards. I need to compare these two files and highlight the changed/inserted/deleted words (xml tags should not be…
Saubhagya
  • 1,075
  • 1
  • 9
  • 12
-1
votes
1 answer

Comparing parts of strings

I am trying to compare two cells with similar texts eg: Cell A1: original_content Cell B1: orig_cont I want to be able to compare A1 and B1 and get the comparison result to be "TRUE" I am trying to use wild card in MATCH function after splitting…
-2
votes
2 answers

Comparison of the contents of two text file in Ubuntu

I have two text files with 2.4M. I like to compare what are the differences in these two text files. I used Kompare. It worked but it is slow for a big file size. Looks like never finish the comparison. What could be the best software in Ubuntu or…
batuman
  • 7,066
  • 26
  • 107
  • 229
-2
votes
1 answer

Java lib to compare two text files with support of wildcard

I am creating autotest using Selenium. Outcome of the test is report file which I need to compare with expected one. Is there a way to compare to text files in Java? I would like to use wildcards to mask some data. I looked at ApprovalTests but it…
jazzyekim
  • 101
  • 1
  • 10
-3
votes
1 answer

C# for loops text compare

I'm trying to assign a combobox index by looping through the values and finding the one that matches my diameter variable. (the combobox items change based on the diameter, e.g. some pipe types only have 0.5", 1.0" while others may have an…
coolhand
  • 1,876
  • 5
  • 25
  • 46
1 2
3