<commit_before>#!/bin/bash

me=$(dirname $0)
NIVIDIC_HOME=$HOME/workspace/nividic
NIVIDIC_CLASSES=$NIVIDIC_HOME/target/classes:/home/jourdren/Desktop/jsr223-api-1.0.jar
NIVIDIC_JS_DIR=$NIVIDIC_HOME/src/main/javascript

MAIN_CLASS=fr.ens.transcriptome.nividic.js.JSRunner
CLASSPATH=$NIVIDIC_CLASSES:/usr/local/java/lib/js.jar:/usr/local/java/lib/commons-collections-3.1.jar:/usr/local/java/lib/commons-primitives-1.0.jar:/usr/local/java/lib/commons-lang-2.0.jar

echo $CLASSPATH
#java -cp $CLASSPATH $MAIN_CLASS `ls $NIVIDIC_JS_DIR/*.js` $*
java -cp $CLASSPATH $MAIN_CLASS $*<commit_msg>Set the maximum memory for vm to 512MB<commit_after>#!/bin/bash

me=$(dirname $0)
NIVIDIC_HOME=$HOME/workspace/nividic
NIVIDIC_CLASSES=$NIVIDIC_HOME/target/classes:/home/jourdren/Desktop/jsr223-api-1.0.jar
NIVIDIC_JS_DIR=$NIVIDIC_HOME/src/main/javascript
JAVA_ARGS="-client -Xmx512m"


#MAIN_CLASS=fr.ens.transcriptome.nividic.js.JSRunner
MAIN_CLASS=fr.ens.transcriptome.nividic.js.JSShell
CLASSPATH=$NIVIDIC_CLASSES:/usr/local/java/lib/js.jar:/usr/local/java/lib/commons-collections-3.1.jar:/usr/local/java/lib/commons-primitives-1.0.jar:/usr/local/java/lib/commons-lang-2.0.jar:/usr/local/java/lib/commons-math-1.1.jar:/usr/local/java/lib/JRclient-RF503.jar:/usr/local/java/lib/poi-3.0-FINAL.jar:/usr/local/java/lib/bytecode.jar:/usr/local/java/lib/biojava-1.5.jar

#echo $CLASSPATH
#java -cp $CLASSPATH $MAIN_CLASS `ls $NIVIDIC_JS_DIR/*.js` $*
java $JAVA_ARGS -cp $CLASSPATH $MAIN_CLASS $NIVIDIC_JS_DIR  $*
{'fraction_non_alphanumeric': 0.16923076923076924, 'fraction_numerical': 0.02608695652173913, 'mean_word_length': 5.590308370044053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4850734', 'n_tokens_mistral': 685, 'n_tokens_neox': 654, 'n_words': 52}