Parse By SentenceRoyalty Free
Splits given text into sentences, and further breaks down sentences into parse trees
API Calls - 118 Avg call duration - N/A
This is not a recognized license.
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks , however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls .
Run an Example
[ [ "(TOP (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (NN sentence.)))))", [ "(S (NP (DT This)) (VP (VBZ is) (NP (DT a) (NN sentence.))))", [ "(NP (DT This))", [ "(DT This)", [ "This" ] ] ], [ "(VP (VBZ is) (NP (DT a) (NN sentence.)))", [ "(VBZ is)", [ "is" ] ], [ "(NP (DT a) (NN sentence.))", [ "(DT a)", [ "a" ] ], [ "(NN sentence.)", [ "sentence." ] ] ] ] ] ], null ]
Install and Use
CLI Install Docs
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth # When prompted for api endpoint, hit enter # When prompted for API key, enter your key: YOUR_API_KEY
algo run ApacheOpenNLP/ParseBySentence/0.1.2 -d '"This is a sentence. These sentences are for parsing."' --timeout 300