2017 © Pedro Peláez
 

library api-sdk-php

SDK for api.aiphilos.com

image

aiphilos/api-sdk-php

SDK for api.aiphilos.com

  • Wednesday, May 16, 2018
  • by schwaen
  • Repository
  • 5 Watchers
  • 6 Stars
  • 98 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 4 Versions
  • 20 % Grown

The README.md

aiPhilos - Artificial Intelligence as a Service

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

aiPhilos provides natural language processing capabilities including advanced semantical and lexicographical analysis based on recent advancements in Artificial Intelligence technology., (*2)

Currently, aiPhilos provides two sets of APIs: - items provides a real-time database and search engine using the semantics API (see below) improving search results and indexing through understanding natural language, adding natural language analysis and Artificial Intelligence as a component to understand your data set - semantics can split natural human language input into machine-readable chunks and attach additional information usable to deepen natural language understanding in your application (tokenization, part of speech tagging, word classes and categories, named entity recognition, lexicographical data, synonyms/hypernyms/hyponyms, similarity and sentiment data, and learned knowledge), (*3)

For more, visit aiphilos.com., (*4)

For documentation, see docs.aiphilos.com., (*5)

Installation

The easiest way to install this library is to use composer., (*6)

{
    "require": {
        "aiphilos/api-sdk-php": "1.*"
    }
}

Usage

Semantics (Semantic analysis of natural language input)

Creating and configuring the client

// Create client
$client = new Aiphilos\Api\Semantics\Client();

// Configure client
$client->setAuthCredentials('user', 'pass');
$client->setDefaultLanguage('de-de');

Parsing a single string

$res = $client->parseString('Ordner');

Parsing multiple strings

$res = $client->parseStrings(array('Ordner leitz', 'tastatur'));

// Alternative
$res = $client->parseStrings(array('example_1' => 'Ordner leitz', 'example_2' => 'tastatur'));

Using custom implementations for Lexemes and Synsets

Aiphilos\Api\Semantics\LexemeFactory::setDefaultClass('My\Namespace\And\Classname'); // Instance of Aiphilos\Api\Semantics\LexemeInterface
Aiphilos\Api\Semantics\SynsetFactory::setDefaultClass('My\Namespace\And\Classname'); // Instance of Aiphilos\Api\Semantics\SynsetInterface

Items (Database and search engine)

TBD, (*7)

License

This library is available under the Apache 2.0 License., (*8)

Contact

Want to get in touch? Contact: aiphilos.com., (*9)

The Versions

16/05 2018

dev-master

9999999-dev

SDK for api.aiphilos.com

  Sources   Download

MIT Apache-2.0

The Requires

  • php ^5.3 || ^7.0
  • ext-curl *

 

The Development Requires

by Sven Muhle

api sdk client ai ephilos aiphilos

16/05 2018

1.1.1

1.1.1.0

SDK for api.aiphilos.com

  Sources   Download

Apache-2.0

The Requires

  • php ^5.3 || ^7.0
  • ext-curl *

 

The Development Requires

by Sven Muhle

api sdk client ai ephilos aiphilos

30/04 2018

1.1.0

1.1.0.0

SDK for api.aiphilos.com

  Sources   Download

Apache-2.0

The Requires

  • php ^5.3 || ^7.0
  • ext-curl *

 

The Development Requires

by Sven Muhle

api sdk client ai ephilos aiphilos

05/04 2018

1.0.0

1.0.0.0

SDK for api.aiphilos.com

  Sources   Download

Apache-2.0

The Requires

  • php ^5.3 || ^7.0
  • ext-curl *

 

The Development Requires

by Sven Muhle

api sdk client ai ephilos aiphilos