-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path0-pipeline.sh
50 lines (40 loc) · 1.91 KB
/
0-pipeline.sh
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
#! /bin/bash
#
# 0-pipeline.sh
#
# Master file for configuration parameters for language learning.
# This particular file is aimed at artificial-language/corpus
# generation and processing.
# ----------
# Location where processing scripts are installed.
# You can run them out of the /usr/local directory, but it
# would be better to copy these to your working directory.
# export COMMON_DIR=/usr/local/share/opencog/learn/run-common
# export COMMON_DIR=/home/ubuntu/src/learn/run-common
export COMMON_DIR=/home/opencog/experiments/run-common
# Location where the text corpus and the dictionary files are located.
# This allows different corpora to be used in different experiments.
export TEXT_DIR=/home/opencog/text/
# Location where the RocksDB databases are kept. This allows different
# experiments to re-use the same filenames, changing only the directory.
# It is recommended that this be located on an SSD disk, for
# performance.
# If you are using Postgres, just delete `ROCKS_DATA_DIR`.
export ROCKS_DATA_DIR=/home/opencog/data/
# Directory in which configuration parameters (including this file)
# are located. Obtained automatically; don't change.
export CONFIG_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# The master config file, which is this file. Don't change.
export MASTER_CONFIG_FILE=${CONFIG_DIR}/$( basename "${BASH_SOURCE[0]}" )
# File containing pair-counting configuration.
# Change this as desired.
export PAIR_CONF_FILE=$CONFIG_DIR/2-pair-conf.sh
# File containing MST-parsing configuration.
export MST_CONF_FILE=$CONFIG_DIR/3-mpg-conf.sh
# File containing grammatical-class configuration
export GRAM_CONF_FILE=$CONFIG_DIR/4-gram-conf.sh
# ------------------------------------------------------
# Don't change these; change them in the individual config files.
# These just provide defaults, in case the other config files fail to.
export OCPROMPT="[0;32mcogserver> [0m"
export LOGFILE=/tmp/cogserver.log