cindyxiaoxiaoli

cindyxiaoxiaoli / SentenceSplitterByContrastiveConjunctions / 0.2.0

Sentence Splitter By Contrastive Conjunctions

10 Credit Royalty
Splits a string into sentences by contrastive conjunctions like 'but', 'however'.
Language
Python 3.x
Metrics
API Calls - 40 Avg call duration - N/A
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
[
  "I love the product quality at the store ",
  "but the customer service was lacking.",
  "I would like not only the best products but also the best service.",
  "Everything was perfect ",
  "except the waiting time."
]

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
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run cindyxiaoxiaoli/SentenceSplitterByContrastiveConjunctions/0.2.0 -d '"I love the product quality at the store but the customer service was lacking. I would like not only the best products but also the best service. Everything was perfect except the waiting time."' --timeout 300
  
CLI Docs