<commit_before>@ECHO OFF

IF "%OS%"=="Windows_NT" @SETLOCAL
IF "%OS%"=="WINNT" @SETLOCAL

SETLOCAL ENABLEDELAYEDEXPANSION

SET SAVANT_HOME=%~dp0..
dir %SAVANT_HOME%\lib > NUL
IF NOT ERRORLEVEL 1 GOTO savantHomeSet
ECHO Unable to locate SAVANT_HOME. Please set the environmental variable.
EXIT /B 1

:savantHomeSet
SET CLASSPATH=
FOR %%f IN ("%SAVANT_HOME%\lib\*.jar") DO SET CLASSPATH=%%f;!CLASSPATH!
java "SAVANT_OPTS" -cp "%CLASSPATH%" org.savantbuild.run.Main %*

ENDLOCAL
<commit_msg>sb.bat work in windows 8.1<commit_after>@ECHO OFF

IF "%OS%"=="Windows_NT" @SETLOCAL
IF "%OS%"=="WINNT" @SETLOCAL

SETLOCAL ENABLEDELAYEDEXPANSION

SET SAVANT_HOME=%~dp0..
dir %SAVANT_HOME%\lib > NUL
IF NOT ERRORLEVEL 1 GOTO savantHomeSet
ECHO Unable to locate SAVANT_HOME. Please set the environmental variable.
EXIT /B 1

:savantHomeSet
SET CLASSPATH=
FOR %%f IN ("%SAVANT_HOME%\lib\*.jar") DO SET CLASSPATH=%%f;!CLASSPATH!
java %SAVANT_OPTS% -cp "%CLASSPATH%" org.savantbuild.run.Main %*

ENDLOCAL

{'fraction_non_alphanumeric': 0.13047711781888996, 'fraction_numerical': 0.007789678675754625, 'mean_word_length': 4.556756756756757, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6924739', 'n_tokens_mistral': 450, 'n_tokens_neox': 425, 'n_words': 104}