Because the N-gram retrieval method does not consider the order of the characters in a target word, the accuracy of matching two words is low, but the computation time is fast.
because DP matching considers the order of the characters in a target word, the accuracy of matching two words is high, but the computation time is slow.