-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinitdb.conf
64 lines (50 loc) · 2.14 KB
/
initdb.conf
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/*
MT-EQuAl: a Toolkit for Human Assessment of Machine Translation Output
Copyright 2014, Christian Girardi (cgirardi@fbk.eu)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#error_reporting(-1);
#ini_set('display_errors', 'On');
define ("ROOTNAME", "root");
define ("ROOTPWD", "");
define ("DB_NAME", "mtequal");
define ("DB_HOST", "127.0.0.1");
define ("DB_USER", "root");
define ("DB_PASSWORD", "");
define ("SYSADMIN", "your_email@example.it");
define ("DEBUG", "no");
define ("QUERY_LOG", "yes"); //use a Mysql log table
define ("QUERY_DEBUG", "yes");
define ("SAVELOG", 0);
# set the maximum number of source sentence per task: put -1 for no limitation
define ("SENTENCE_LIMIT", -1);
date_default_timezone_set('Europe/Rome');
#language settings: the array contains the name of the language, its flag image, and if it must be written right-to-left (rtl) or left-to-right (it is the default, using an empty string).
$languages = array(
"en" => array ("English","img/flag/en.png",""),
"ar" => array ("Arabic","img/flag/ar.png","rtl"),
"ru" => array ("Russian","img/flag/ru.png",""),
"zh" => array ("Chinese","img/flag/zh.png",""),
"it" => array ("Italian","img/flag/it.png",""));
$sentenceTypes = array ("source","reference","sys1","sys2","sys3","sys4","sys5");
$taskTypes = array ("quality" => "Quality Rating"
,"errors" => "Error Annotation"
,"wordaligner" => "Word Alignment");
$userTypes = array ("annotator" => array(""),
"advisor" => array("annotation","stats"),
"admin" => array("task","data","user","annotation","stats"));
$adminPanels = array ("task" => "TASK",
"data" => "DATA",
"user" => "USER",
"annotation" => "ANNOTATION",
"stats" => "STATS & AGREEMENT");
?>