algopostag - Parts-of-Speech (POS) Tagger

algopostag marks each word in sentences with the word type.

Algorithmia Platform License

Run an Example

"{\"result\":{\"sentences\":[\"John is 27 years old.\",\"Mary is 32 years old.\"],\"tokens\":[{\"prob\":0.9874932809932121,\"tag\":\"NNP\",\"token\":\"John\"},{\"prob\":0.9667574183085389,\"tag\":\"VBZ\",\"token\":\"is\"},{\"prob\":0.9890000667325892,\"tag\":\"CD\",\"token\":\"27\"},{\"prob\":0.979181322666035,\"tag\":\"NNS\",\"token\":\"years\"},{\"prob\":0.9898855393192645,\"tag\":\"JJ\",\"token\":\"old\"},{\"prob\":0.24842817119796945,\"tag\":\".\",\"token\":\".\"},{\"prob\":0.979125085146105,\"tag\":\"NNP\",\"token\":\"Mary\"},{\"prob\":0.9289556995016649,\"tag\":\"VBZ\",\"token\":\"is\"},{\"prob\":0.9929170854018982,\"tag\":\"CD\",\"token\":\"32\"},{\"prob\":0.9793359702369504,\"tag\":\"NNS\",\"token\":\"years\"},{\"prob\":0.9650067847348142,\"tag\":\"JJ\",\"token\":\"old\"},{\"prob\":0.9923321017451305,\"tag\":\".\",\"token\":\".\"}]},\"isError\":false,\"errorMessage\":\"Tagging is completed successfully!\",\"errorCode\":\"Success\"}"

Install & Use

Use

curl -X POST -d '{
  "text": "John is 27 years old. Mary is 32 years old."
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/magicanded/algopostag/0.2.1