fixed the indexing error for ontology
fixed the ngram score when re-ranking the candidate ontology terms
fixed the bug that matching database id should be exact match instead of partial match