<commit_before>

set JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

set RESTOLINO_STATIC="src/main/resources/files"
set RESTOLINO_CLASSES="target/classes"


REM # Elasticsearch
set BONSAI_URL=http://localhost:9200


mvn clean package && java %JAVA_OPTS% -Drestolino.files=%RESTOLINO_STATIC% -Drestolino.classes=%RESTOLINO_CLASSES% -cp "target/dependency/*" com.github.davidcarboni.restolino.Main


# Development: reloadable
#java %JAVA_OPTS% -Drestolino.files=%RESTOLINO_STATIC% -Drestolino.classes=%RESTOLINO_CLASSES% -cp "target/dependency/*" com.github.davidcarboni.restolino.Main

# Production: non-reloadable
#java %JAVA_OPTS% -jar target/*-jar-with-dependencies.jar
<commit_msg>Experimenting with line continuation when generating taxonomy before running the app.<commit_after>

set JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

set RESTOLINO_STATIC="src/main/resources/files"
set RESTOLINO_CLASSES="target/classes"


REM # Elasticsearch
set BONSAI_URL=http://localhost:9200

REM # Build ^
mvn clean package && ^
 ^
REM # Generate taxonomy ^
java -cp "target/classes:target/dependency/*" com.github.onsdigital.generator.Csv && ^
 ^
REM # Development: reloadable ^
java %JAVA_OPTS% -Drestolino.files=%RESTOLINO_STATIC% -Drestolino.classes=%RESTOLINO_CLASSES% -cp "target/dependency/*" com.github.davidcarboni.restolino.Main

REM # Production: non-reloadable
REM #java %JAVA_OPTS% -jar target/*-jar-with-dependencies.jar

{'fraction_non_alphanumeric': 0.1261682242990654, 'fraction_numerical': 0.010680907877169559, 'mean_word_length': 6.6091370558375635, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6994662', 'n_tokens_mistral': 597, 'n_tokens_neox': 524, 'n_words': 89}