Naive Best Phrase implemented.