opennlp.bratann

## Class NameFinderResource

- java.lang.Object
- - opennlp.bratann.NameFinderResource

-     @Path(value="/ner")
      public class NameFinderResource
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `NameFinderResource.NameAnn`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NameFinderResource()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,NameFinderResource.NameAnn>` | `findNames(String modelName, String text)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NameFinderResource

          public NameFinderResource()

  - ### Method Detail

    - #### findNames

          @POST
           @Consumes(value="text/plain")
           @Produces(value="application/json")
          public Map<String,NameFinderResource.NameAnn> findNames(@QueryParam(value="model")
                                                                                                                                            String modelName,
                                                                                                                                            String text)

Copyright © 2026 The Apache Software Foundation. All rights reserved.