Which machine learning algorithim should i implement for detecting document type? : <p>We have requirement that we get different type of documents from client like student admission document, marksheet etc. So we want to create an algorithm which identify which document it is. So for this we choose some specific keyword to identify the document type like if admission documents have keywords like <code>fee</code>, <code>admission</code> etc . And <code>marksheet</code> documents keyword like <code>marks</code>, <code>grade</code> etc. So Here we can predict document type by comparing keywords frequency. </p>

<p>For this above requirement which algorithm should implement? I was planning to implement multinomial naive base algorithm. But I can not fit my data in to it. </p>

<p>FYI.. I am using python sklearn module.</p>

<p>Can you please anyone tell me which algorithm should suitable for above requirement. If possible can you also please provide an example with code so that i can easily figure out the solution?</p>
