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.
- Install Apache Maven. https://maven.apache.org/install.html
-
Install Docker. https://docs.docker.com/engine/installation
-
To use Solr, install and start this Docker with command:
$ docker pull solr
$ docker run -d -p 8983:8983 --name solr solr
Create the turing core into Solr with command:
$ docker exec -it solr bash
$ cd /opt/solr/bin
$ ./solr create -c turing
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
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"/>
Bower is a command line utility. Install it with npm.
$ npm install -g bower
Bower requires node, npm and git.
More details: https://bower.io/#install-bower
To run Viglet Turing with Jetty 9 embedded, just execute the following line:
$ mvn jetty:run
- Administration Console http://localhost:2700/turing.
- Semantic Navigation http://localhost:2700/turing/sn.