How to force all documents to match the same document definition?

Question

How to force all documents to match the same document definition?

 

Answer

You may use the Before matching event handler in the Project > Project properties > Event Handlers to force all documents to be matched with the needed document definition using the following script:

Matching.DefinitionsList = "DocumentDefinitionName"; 
Matching.ForceMatch = true;

mceclip0.png

Have more questions? Submit a request

Comments

1 comment

  • Avatar

    Ranjit Nayak

    is it possible to do this for specific files- ex: specific vendor name from the list. since we have multiple vendors in our dataset and multiple documents also. But its taking wrong DD though classification train is done correctly.

    0

Please sign in to leave a comment.