magicanded

magicanded / algopostag / 0.2.1

algopostag - Parts-of-Speech (POS) Tagger

1 Credit Royalty API Calls - 487
algopostag marks each word in sentences with the word type.
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
"{\"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 and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run magicanded/algopostag/0.2.1 -d '{
  "text": "John is 27 years old. Mary is 32 years old."
}'
  
CLI Docs