by swsieber · 6y ago · 0 comments
I'm having a hard time finding literature on problems like this. I think the closest thing it's like is the stable matching problem, but I'm not sure. My current algorithm doesn't allow for missing or reordered pages.
Does anyone have magic words I could google to find pertinent research/algorithms? I think if worst comes to worse I'll have to try to model the incoming page stream as something like a bayseian ... graph? It's been so long since I've done something like that (5 years), and that was in school.
The most basic thing I'd imagine (assuming text docs) is something like index each document by TF-IDF, and then the new document by TF-IDF, and then rank results by similarity
You're basically doing a google search on documents, but with a really big query (another document)
The challenge would be to get a good measure of the difference, perhaps us some cosine difference again from the transformer?
If you have specialist vocab you can train the transformers - so maybe you are doing legal matching?