Skip to content

Commit

Permalink
Committing built version of 505d606
Browse files Browse the repository at this point in the history
  • Loading branch information
10upbot on GitHub committed Jun 13, 2019
1 parent 9fcb166 commit 282e3f0
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 68 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# ![ClassifAI](https://classifaiplugin.com/wp-content/themes/classifai-theme/assets/img/logo.svg "ClassifAI")
> Enhance your WordPress content with Artificial Intelligence and Machine Learning services.
[![Build Status](https://travis-ci.com/10up/classifai.svg?token=Jy6DFK4YVZbgtyNHcjm5&branch=develop)](https://travis-ci.com/10up/classifai) [![Release Version](https://img.shields.io/github/release/10up/classifai.svg)](https://github.com/10up/classifai/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v5.2%20tested-success.svg)
[![Build Status](https://travis-ci.com/10up/classifai.svg?token=Jy6DFK4YVZbgtyNHcjm5&branch=develop)](https://travis-ci.com/10up/classifai) [![Release Version](https://img.shields.io/github/release/10up/classifai.svg)](https://github.com/10up/classifai/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v5.2%20tested-success.svg) [![MIT License](https://img.shields.io/github/license/10up/classifai.svg)](https://github.com/10up/classifai/blob/develop/LICENSE.md)

## Table of Contents
* [Features](#features)
* [Requirements](#requirements)
* [Installation](#installation)
* [Set Up Content Tagging](#set-up-content-tagging-via-ibm-watson)
* [Set Up Image Processing](#set-up-image-processing-via-microsoft-azure)
Expand All @@ -19,6 +20,13 @@
* Automatically classify content and images on save
* Bulk classify content with [WP-CLI](https://wp-cli.org/)

## Requirements

* PHP 7.0+
* [WordPress](http://wordpress.org) 5.0+
* To utilize the Lanaguage Processing functionality, you will need an active [IBM Watson](https://cloud.ibm.com/registration) account.
* To utilize the Image Processing functionality, you will need an active [Microsoft Azure](https://signup.azure.com/signup) account.

## Installation

#### 1. Download or Clone this repo, install dependencies and build.
Expand Down Expand Up @@ -164,10 +172,6 @@ A complete listing of all notable changes to Distributor are documented in [CHAN

Please read [CODE_OF_CONDUCT.md](https://github.com/10up/classifai/blob/develop/CODE_OF_CONDUCT.md) for details on our code of conduct and [CONTRIBUTING.md](https://github.com/10up/classifai/blob/develop/CONTRIBUTING.md) for details on the process for submitting pull requests to us.

## License

ClassifAI utilizes an [MIT license](https://github.com/10up/classifai/blob/develop/LICENSE.md).

## Like what you see?

<a href="http://10up.com/contact/"><img src="https://10updotcom-wpengine.s3.amazonaws.com/uploads/2016/10/10up-Github-Banner.png" width="850" alt="Work with us at 10up"></a>
Binary file added assets/img/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 14 additions & 1 deletion assets/img/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion classifai.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: ClassifAI
* Plugin URI: https://github.com/10up/classifai
* Description: Enhance your WordPress content with Artificial Intelligence and Machine Learning services.
* Version: 1.3.0
* Version: 1.3.1
* Author: 10up
* Author URI: https://10up.com
* License: MIT
Expand All @@ -12,6 +12,23 @@
* Domain Path: /languages
*/

/**
* Require PHP version 7+ - throw an error if the plugin is activated on an older version.
*
* Note that this itself is only PHP5.3+ compatible because of the anonymous callback.
*/
register_activation_hook(
__FILE__,
function() {
if ( version_compare( PHP_VERSION, '7.0.0', '<' ) ) {
wp_die(
esc_html__( 'ClassifAI requires PHP version 7.', 'classifai' ),
esc_html__( 'Error Activating', 'classifai' )
);
}
}
);

/**
* Small wrapper around PHP's define function. The defined constant is
* ignored if it has already been defined. This allows the
Expand Down
147 changes: 86 additions & 61 deletions languages/classifai.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the MIT.
msgid ""
msgstr ""
"Project-Id-Version: ClassifAI 1.3.0\n"
"Project-Id-Version: ClassifAI 1.3.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/classifai\n"
"POT-Creation-Date: 2019-06-07 21:11:29+00:00\n"
"POT-Creation-Date: 2019-06-13 22:54:58+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -13,11 +13,19 @@ msgstr ""
"Language-Team: LANGUAGE <[email protected]>\n"
"X-Generator: node-wp-i18n 1.2.3\n"

#: classifai.php:65
#: classifai.php:25
msgid "ClassifAI requires PHP version 7."
msgstr ""

#: classifai.php:26
msgid "Error Activating"
msgstr ""

#: classifai.php:82
msgid "Fatal Error: Composer not setup in %"
msgstr ""

#: classifai.php:104 classifai.php:105
#: classifai.php:121 classifai.php:122
msgid "Error: Please run $ composer install in the classifai plugin directory."
msgstr ""

Expand All @@ -32,127 +40,144 @@ msgstr ""
msgid "ClassifAI requires setup"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:35
#: includes/Classifai/Providers/AWS/Comprehend.php:43
#: includes/Classifai/Providers/Azure/ComputerVision.php:122
msgid "Endpoint URL"
msgstr ""

#: includes/Classifai/Providers/AWS/Comprehend.php:54
#: includes/Classifai/Providers/Azure/ComputerVision.php:134
msgid "API Key"
msgstr ""

#: includes/Classifai/Providers/Azure/ComputerVision.php:129
msgid "e.g. <code>https://REGION.api.cognitive.microsoft.com/</code>"
msgstr ""

#: includes/Classifai/Providers/Azure/ComputerVision.php:145
msgid "Caption Confidence Threshold"
msgstr ""

#: includes/Classifai/Providers/Azure/ComputerVision.php:153
msgid ""
"Minimum confidence score for automatically applied image captions, numeric "
"value from 0-100. Recommended to be set to at least 75."
msgstr ""

#: includes/Classifai/Providers/Azure/ComputerVision.php:190
msgid "Please enter your credentials"
msgstr ""

#: includes/Classifai/Providers/Watson/NLU.php:39
msgid "Category"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:36
#: includes/Classifai/Providers/Watson/NLU.php:40
msgid "Category Threshold (%)"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:37
#: includes/Classifai/Providers/Watson/NLU.php:41
msgid "Category Taxonomy"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:42
#: includes/Classifai/Providers/Watson/NLU.php:46
msgid "Keyword"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:43
#: includes/Classifai/Providers/Watson/NLU.php:47
msgid "Keyword Threshold (%)"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:44
#: includes/Classifai/Providers/Watson/NLU.php:48
msgid "Keyword Taxonomy"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:49
#: includes/Classifai/Providers/Watson/NLU.php:53
msgid "Entity"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:50
#: includes/Classifai/Providers/Watson/NLU.php:54
msgid "Entity Threshold (%)"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:51
#: includes/Classifai/Providers/Watson/NLU.php:55
msgid "Entity Taxonomy"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:56
#: includes/Classifai/Providers/Watson/NLU.php:60
msgid "Concept"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:57
#: includes/Classifai/Providers/Watson/NLU.php:61
msgid "Concept Threshold (%)"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:58
#: includes/Classifai/Providers/Watson/NLU.php:62
msgid "Concept Taxonomy"
msgstr ""

#. Plugin Name of the plugin/theme
msgid "ClassifAI"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:105
msgid "ClassifAI %s"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:137
msgid "ClassifAI Registration Key"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:141
msgid "Registered Email"
#: includes/Classifai/Providers/Watson/NLU.php:188
msgid "API URL"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:154
msgid "Registration Key"
#: includes/Classifai/Providers/Watson/NLU.php:200
msgid "API Username"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:162
msgid ""
"Registration is 100% free and provides update notifications and upgrades "
"inside the dashboard.<br /><a "
"href=\"https://classifaiplugin.com/#cta\">Register for your key</a>"
#: includes/Classifai/Providers/Watson/NLU.php:209
msgid "If your credentials do not include a username, it is typically apikey"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:171
msgid "IBM Watson API Credentials"
#: includes/Classifai/Providers/Watson/NLU.php:214
msgid "API Key / Password"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:174
msgid "API URL"
#: includes/Classifai/Providers/Watson/NLU.php:235
msgid "Post Types to Classify"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:186
msgid "API Username"
#: includes/Classifai/Providers/Watson/NLU.php:359
msgid "Watson Category Settings"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:195
msgid "If your credentials do not include a username, it is typically apikey"
#: includes/Classifai/Providers/Watson/NLU.php:364
msgid "Enable"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:200
msgid "API Key / Password"
#: includes/Classifai/Providers/Watson/NLU.php:468
msgid "IBM Watson NLU Authentication Failed. Please check credentials."
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:217
msgid "Content Classification with IBM Watson NLU"
#: includes/Classifai/Services/LanguageProcessing.php:14
msgid "Language Processing"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:221
msgid "Post Types to Classify"
#: includes/Classifai/Services/ServicesManager.php:142
msgid "Invalid ClassifAI registration info. Please check and try again."
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:261
msgid "ClassifAI Settings"
#: includes/Classifai/Services/ServicesManager.php:159
msgid "Registered Email"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:371
msgid "Watson Category Settings"
#: includes/Classifai/Services/ServicesManager.php:172
msgid "Registration Key"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:375
msgid "Enable"
#: includes/Classifai/Services/ServicesManager.php:180
msgid ""
"Registration is 100% free and provides update notifications and upgrades "
"inside the dashboard.<br /><a "
"href=\"https://classifaiplugin.com/#cta\">Register for your key</a>"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:483
msgid "Invalid ClassifAI registration info. Please check and try again."
#. Plugin Name of the plugin/theme
msgid "ClassifAI"
msgstr ""

#: includes/Classifai/Admin/SettingsPage.php:493
msgid "IBM Watson NLU Authentication Failed. Please check credentials."
#: includes/Classifai/Services/ServicesManager.php:228
#. Translators: Main title.
msgid "ClassifAI %s"
msgstr ""

#: includes/Classifai/Taxonomy/AbstractTaxonomy.php:102
Expand Down

0 comments on commit 282e3f0

Please sign in to comment.