<commit_before>#!/bin/bash
#
# relation-extractor.sh: example relationship extractor.
# Parses a simple sentence about dinosaurs.
# This provides a basic demo of the RelEx abilities.
#
# Flags:
# RelationExtractor [-s Sentence (in quotes)] [-h (show this help)] 
# [-t (show parse tree)] [-l (show parse links)] 
# [-o (show opencog XML output)] [-v verbose]
# [-n parse-number] [--maxParses N] [--maxParseSeconds N]

VM_OPTS="\
	-Xmx1024m \
	-Djava.library.path=/usr/lib:/usr/local/lib \
	"

# By default these resources are read from the jar file or from 
# the default paths (the same defined below)
#RELEX_OPTS="\
#	-Drelex.algpath=data/relex-semantic-algs.txt \
#	-Dwordnet.configfile=data/wordnet/file_properties.xml \
#	"

CLASSPATH="-classpath \
bin:\
/usr/local/share/java/jwnl.jar:\
/usr/local/share/java/opennlp-tools-1.3.0.jar:\
/usr/local/share/java/maxent-2.4.0.jar:\
/usr/local/share/java/trove.jar:\
/usr/local/share/java/link-grammar-4.3.5.jar:\
/usr/share/java/commons-logging.jar:\
/usr/share/java/gnu-getopt.jar:\<commit_msg>minor tweaks<commit_after>#!/bin/bash
#
# relation-extractor.sh: example relationship extractor.
# Parses a simple sentence about dinosaurs.
# This provides a basic demo of the RelEx abilities.
#
# Flags:
# RelationExtractor [-s Sentence (in quotes)] [-h (show this help)] 
# [-t (show parse tree)] [-l (show parse links)] 
# [-o (show opencog XML output)] [-v verbose]
# [-n parse-number] [--maxParses N] [--maxParseSeconds N]

VM_OPTS="-Xmx1024m"

# By default these resources are read from the jar file or from 
# the default paths (the same defined below)
#RELEX_OPTS="\
#	-Drelex.algpath=data/relex-semantic-algs.txt \
#	-Dwordnet.configfile=data/wordnet/file_properties.xml \
#	"

CLASSPATH="-classpath \
bin:\
/usr/local/share/java/jwnl.jar:\
/usr/local/share/java/opennlp-tools-1.3.0.jar:\
/usr/local/share/java/maxent-2.4.0.jar:\
/usr/local/share/java/trove.jar:\
/usr/local/share/java/link-grammar-4.3.5.jar:\
/usr/share/java/link-grammar-4.3.5.jar:\
/usr/share/java/commons-logging.jar:\
/usr/share/java/gnu-getopt.jar:\
{'fraction_non_alphanumeric': 0.17341040462427745, 'fraction_numerical': 0.013969171483622351, 'mean_word_length': 3.7204545454545452, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '881397', 'n_tokens_mistral': 822, 'n_tokens_neox': 799, 'n_words': 169}