The Problem: Sentences with extra or missing spaces.
The Idea: Check the sentences for words and spell check remaining text to see if adding or removing a space makes a word.
I just did a little test where I put in a word list (~84000) and search it for a specific word and it was really fast.
Code: Select all
[frame("test"): {
[H: index = getMacroIndexes("dictionary")]
[H: result = listFind(getMacroCommand(index),"the")]
[R: result]
}]
My idea is to take a mashed up sentence and put spaces in to it. For example:
Code: Select all
Theceilingofthiscavernouschambervaultstoaheightofsixtyfeet.
So, I'm looking for other possible solutions, suggestions or insight. The reason? Cutting/Pasting from pdfs really screw up some of the text. I'd be even willing to use a 3rd party app if it can accomplish the same thing, but I looked and didn't really see anything.