Package org.fryske_akademy.pos_tagger
Class UDPipePostTagService
- java.lang.Object
-
- org.fryske_akademy.pos_tagger.UDPipePostTagService
-
@Path("process") public class UDPipePostTagService extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUDPipePostTagService.FORMAT
-
Constructor Summary
Constructors Constructor Description UDPipePostTagService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThrowabledeepestCause(Throwable t)javax.ws.rs.core.Responseinfo()javax.ws.rs.core.ResponsetagConllu(@Size(min=0,max=2048000) String text)javax.ws.rs.core.ResponsetagTsv(@Size(min=0,max=2048000) String text)StringversionInfo()
-
-
-
Field Detail
-
ROOT
public static final String ROOT
- See Also:
- Constant Field Values
-
TSVPATH
public static final String TSVPATH
- See Also:
- Constant Field Values
-
CONLLUPATH
public static final String CONLLUPATH
- See Also:
- Constant Field Values
-
INFOPATH
public static final String INFOPATH
- See Also:
- Constant Field Values
-
SCRIPTDIR
public static final String SCRIPTDIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
info
@GET @Path("info") @Produces("application/json") public javax.ws.rs.core.Response info()
-
tagTsv
@POST @Path("tsv") @Consumes("text/plain") @Produces("text/tab-separated-values") public javax.ws.rs.core.Response tagTsv(@Size(min=0,max=2048000) @Size(min=0,max=2048000) String text)
-
tagConllu
@POST @Path("conllu") @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response tagConllu(@Size(min=0,max=2048000) @Size(min=0,max=2048000) String text)
-
versionInfo
public String versionInfo()
-
-