Viglet Turing - Platform that uses natural language processing (NLP) and machine learning to provide more intelligent data. Choose your favorite NLP as CoreNLP, OpenNLP and OpenText Content Analytics, and index your content in Solr with higher added value. Train and manage models for your machine learning.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
docs
gradle/wrapper
src
store
turing-core
turing-nlp
turing-search
view
.classpath
.gitignore
.jsdtscope
.project
.travis.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
LICENSE.md
Procfile
README.md
app.json
build.gradle
gradlew
gradlew.bat
settings.gradle
sonar-project.properties
system.properties
updateJS.sh

README.md

Build Status codecov Quality Gate

viglet_logo.png

Viglet Turing is a platform that uses natural language processing (NLP) and machine learning to provide more intelligent data. Choose your favorite NLP as CoreNLP and OpenText Content Analytics, and index your content in Solr with higher added value. Train and manages models for your learning machine like Google Tensorflow.

If you'd like to contribute to Viglet Turing, be sure to review the contribution guidelines.

We use GitHub issues for tracking requests and bugs.

Installation

Docker

$ docker pull solr
$ docker run -d -p 8983:8983 --name solr solr
$ cd TURING_DIR
$ ./gradlew build && docker build -t viglet-turing .
$ docker run -d -p 2700:2700 --name viglet-turing viglet-turing 

Solr

Create Core

Create the turing core into Solr with command:

$ docker exec -it solr bash
$ cd /opt/solr/bin
$ ./solr create -c turing

Create Fields

Create the default fields into Solr with command:

$ curl -X POST -H 'Content-type:application/json' --data-binary '{
  "add-field":{
     "name":"turing_entity_PN",
     "type":"text_general",
     "indexed":true,
     "stored":true }
}' http://localhost:8983/solr/turing/schema

$ curl -X POST -H 'Content-type:application/json' --data-binary '{
  "add-field":{
     "name":"turing_entity_ON",
     "type":"text_general",
     "indexed":true,
     "stored":true }
}' http://localhost:8983/solr/turing/schema

$ curl -X POST -H 'Content-type:application/json' --data-binary '{
  "add-field":{
     "name":"turing_entity_GL",
     "type":"text_general",
     "indexed":true,
     "stored":true }
}' http://localhost:8983/solr/turing/schema
$ curl -X POST -H 'Content-type:application/json' --data-binary '{
  "add-field":{
     "name":"turing_entity_IPTC",
     "type":"text_general",
     "indexed":true,
     "stored":true }
}' http://localhost:8983/solr/turing/schema
$ curl -X POST -H 'Content-type:application/json' --data-binary '{
  "add-field":{
     "name":"turing_entity_ComplexConcepts",
     "type":"text_general",
     "indexed":true,
     "stored":true }
}' http://localhost:8983/solr/turing/schema

Highlighting

Solr Highlighting to work requires that the fields that use this feature be text_general type. So add or modify the following fields in /opt/solr/server/solr/turing/conf/managed-schema file.

<field name="text" type="text_general" indexed="true" stored="true"/>
<field name="title" type="text_general" indexed="true" stored="true"/>

Deploy

Generate Fat Jar File

Use Gradle to generate a Viglet Turing Fat Jar file.

$ ./gradlew build

Run

To run Viglet Turing Fat Jar file, just execute the following line:

$ java -jar build/libs/turing-0.1.0.jar

Viglet Turing

For more information