- public static List<String> classify(String str, List<String> entities) throws IOException {
- classify(str, getOrganizationModel(), entities);
-
- classify(str, getPersonModel(), entities);
- classify(str, getLocationModel(), entities);
-
- classify(str, getTimeModel(), entities);
+ public static List<String> classify(String str, List<String> entities, Config config) throws IOException {
+ classify(str, getOrganizationModel(), entities, config);
+ classify(str, getPersonModel(), entities, config);
+ classify(str, getLocationModel(), entities, config);