#! /bin/bash
#
# Configuration parameters for grammatical class clustering.
# --------------
#
# IPv4 hostname and port number of where the cogserver is running.
export HOSTNAME=localhost
export PORT=17004
export WEBPORT=18084
# export PROMPT="[0;34mscheme@(gram-class) [0m"
export PROMPT="scheme@(gram-class) "
export OCPROMPT="[0;32mcogserv@(gram-class) [0m"
export LOGFILE=/tmp/cogserver-gram-en.log
# Location of the database where grammatical classes will be formed.
export GRAM_DB=${ROCKS_DATA_DIR}/gram-2.rdb
export STORAGE_NODE="(RocksStorageNode \"rocks://${GRAM_DB}\")"
# Scheme function that will perform classification.
# Pick one. Tune as desired.
# XXX Except all of the below are obsolete; see the README's for the latest.
#
# API="(define gsa (add-cluster-gram (make-pseudo-cset-api)))"
# API="${API} (define psa (add-pair-stars gsa))"
API="(define psa star-obj)"
# export GRAM_CLUSTER="${API} (gram-classify-greedy-mifuzz psa 3.0 0.0 4)"