GET /detectGender
Example inputs:
- adam magda ALL TOKENS
- michał text FIRST TOKEN
GET /getTokens
- No input needed, it will return zip file with packed txt files with male and female names.
Male list is taken from: here
Female list is taken from: here
To build executable jar: just run bootJar goal in Gradle builds.
You have to build jar first before run docker image.
To build Docker Image:
docker build -f Dockerfile -t detector:1 .
To run Docker image
docker run -p 8080:8080 detector:1