public static Maxent fit(int p, int[][] x, int[] y) {
        return fit(p, x, y, new Properties());
    }
@Test
    public void testHyphen() {
        System.out.println("hyphen");

        Maxent model = Maxent.fit(Hyphen.p, Hyphen.x, Hyphen.y);

        int[] prediction = model.predict(Hyphen.testx);
        int error = Error.of(prediction, Hyphen.testy);

        System.out.format("The error is %d of %d%n", error, Hyphen.testx.length);
        assertEquals(762, error);
    }