@Test
    public void testUnderscoreTokenization() {
        var parameters = new LinguisticsParameters(Language.ENGLISH, StemMode.SHORTEST, true, true);
        var tester = new OpenNlpLinguisticsTester();
        tester.assertTokenize("ugcapi_1", parameters, List.of("ugcapi", "1"), null);
    }
Test of tokenization, with stemming and accent removal

@author matskin
@author bratseth
opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpTokenizationTestCase.java