#
# EXAMPLE -- sample input data file for SPEC.
#
# This directory contains the input data files for the SPEC system.
# The training data file is in training.40-06.100 and contains 100
#  sentences from templates 40 and 06.
# Each of the other files contains full set of sentences for each template.
#  For example, 23.ctr-tail-a contains template 23, which has a center
#  embedding which contains a tail embedding with "who" as the agent.
#  When testing SPEC, each file should be used separately as input
#  so that the sentence-position-specific statistics make sense.
#
# File format:
# First, list the nouns that occur in the data. They are used to form
#  training targets for the stack when the stacknouns parameter/option 
#  is on (i.e., all different "The <noun1>" and "the <noun1> who the <noun2>"
#  embeddings are used to train the stack, instead of whatever occurs in the
#  training sentences). The nounlist is not used when stacknouns=0.
# If you specify the same word multiple times, it will be used twice as often,
#  which may be useful in simulating frequency effects.
nouns boy girl dog cat

# Next list the sentences. Each consists of a number of fragments,
#  each in a separate line. They have 3 parts:
# First come the 3 targets for the control: push, pop, output. These 
#  tell the system what to do after reading in the fragment, i.e.,
#  whether the system should push the hidden layer representation to 
#  the stack, whether it should pop the rep from the stack and load
#  in the parser's previous hidden layer, or whether the parser's output
#  is ready and should be propagated to the output of the whole system.
# Next are the words of the fragment, followed by a delimiter
#  (comma, or period if this is the last fragment of the sentence).
#  The delimiters are not included as part of the input.
# Last are the output case roles.
# You can separate the sentence definitions with an empty line, but
#  don't put any other junk between them or in them.
sentences

1 0 0 the dog , dog bit cat
0 0 1 who bit the boy , dog bit boy
0 1 1 who liked the dog , boy liked dog
0 0 1 bit the cat . dog bit cat

1 0 0 the girl , girl chased cat
0 0 1 who liked the dog , girl liked dog
0 1 1 who bit the girl , dog bit girl
0 0 1 chased the cat . girl chased cat
