Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashwanthkumar/uclassify-scala
Scala client for uClassify.com API
https://github.com/ashwanthkumar/uclassify-scala
Last synced: about 6 hours ago
JSON representation
Scala client for uClassify.com API
- Host: GitHub
- URL: https://github.com/ashwanthkumar/uclassify-scala
- Owner: ashwanthkumar
- License: apache-2.0
- Created: 2013-07-28T07:52:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-16T16:25:03.000Z (almost 9 years ago)
- Last Synced: 2024-04-14T09:19:02.640Z (7 months ago)
- Language: Scala
- Size: 20.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)
# uClassify Scala [![Build Status](https://travis-ci.org/ashwanthkumar/uClassify-scala.png)](https://travis-ci.org/ashwanthkumar/uClassify-scala/builds/)
Scala client for [uClassify Service API](http://www.uclassify.com/XmlApiDocumentation.aspx). This repo is WIP.
## Client Usage
```
val client = UClassifyClient("__READ__API__KEY", "__WRITE__API__KEY")
client.createClassifier(classifierName)val sampleTexts = List("she love me", "he hates me")
for {
result <- client.classify(classifierName, sampleTexts)
} yield result.foreach(println)```
## Example Usage
Refer Sample.scala under examples## License
Copyright 2013 Ashwanth Kumar
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.