User Tools

Site Tools


treelets

This is an old revision of the document!


Treelets Documentation

This page contains the documentation of the Treelets phraseology extraction tool. The main topics covered here include:

  • Configuring and running the Treelets docker container, which includes the Postgres database, Java API, angular web application, nginx server etc.
  • Parsing and indexing corpora, generating and searching automatic combinatorial dictionaries extracted with Treelets

Any issues related to Treelets should be reported to the contact[at]pelcra.pl.

Docker Installation

Treelets can be installed locally as a Docker container on any major operating system. The installation process varies for different operating systems. The following pages explain how to install Treelets on:

Requirements

  • Unix environment, Windows 10 Home or Professional, Mac OS environment
  • Docker Desktop for Windows 10 Professional or Mac OS
  • Docker Toolbox on Windows 10 Home

Docker useful commands

# View instances with container id
sudo docker ps
        
# Logs
sudo docker-compose logs

# Monitoring
sudo docker stats

# Connect sql command
sudo docker exec -it {container_id} sh
psql -U treelets treelets
select * from info.config;
select version();
\q
exit
        
# Stop
sudo docker-compose stop
        
# Remove
sudo docker-compose down
treelets.1576526738.txt.gz · Last modified: 2019/12/16 21:05 by pwilk