File size: 939 Bytes
743fd42
 
 
2d0d0c7
743fd42
 
 
2d0d0c7
743fd42
4b0aadc
743fd42
7e1c3f7
2d0d0c7
7e1c3f7
 
 
 
2d0d0c7
743fd42
 
 
 
 
 
2d0d0c7
743fd42
 
 
 
 
2d0d0c7
743fd42
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# --- Imports modules ---
from modules.module_vocabulary import Vocabulary


# --- Imports interfaces ---
from interfaces.interface_datos import interface as interface_datos


# --- Tool config ---
# ToDo: Change the owner of the context dataset from nanom to vialibre
CONTEXTS_DATASET    = "nanom/splittedspanish3bwc"

LANGUAGE            = "spanish"                     # [spanish]
VOCABULARY_SUBSET   = "full"                        # [full, mini]

AVAILABLE_WORDCLOUD = False                         # [True | False]
AVAILABLE_LOGS      = True                          # [True | False]


# --- Init classes ---
vocabulary = Vocabulary(
    subset_name=VOCABULARY_SUBSET
)


# --- Main App ---
iface = interface_datos(
    vocabulary=vocabulary,
    contexts=CONTEXTS_DATASET,
    available_logs=AVAILABLE_LOGS,
    available_wordcloud=AVAILABLE_WORDCLOUD,
    lang=LANGUAGE
)

iface.queue(concurrency_count=8)
iface.launch(debug=False)