 @Throws(Exception::class) fun testParams() { val sim: ClassicSimilarity = getSimilarity("text_overlap", ClassicSimilarity::class.java) assertEquals(false, sim.getDiscountOverlaps()) }
Classic w/ explicit params