<commit_before># file:        Makefile.matlab
# description: Build MATALB toolbox
# author:      <NAME>

# AUTORIGHTS

# MATLAB support is enabled if $(MEX) is executable and if MATLAB root
# can be set from the output of `$(MEX) -v`. Therefore setting MEX to
# the empty string disables MATLAB support.

MATLAB_EXE ?= matlab
MEX ?= mex
MATLAB_PATH ?= $(strip $(shell type -P $(MEX) 2>&1 >/dev/null && \
                 $(MEX) -v 2>&1 | sed -n 's/.*MATLAB *= *\(.*\)/\1/gp'))

# if expand to empty string, set to empty string for use with ifdef
ifeq ($(MATLAB_PATH),)<commit_msg>matlab.mak: simplifies detection of MEX and makes MATLAB bin depend on that<commit_after># file:        Makefile.matlab
# description: Build MATALB toolbox
# author:      <NAME>

# AUTORIGHTS

# MATLAB support is enabled if $(MEX) is executable and if MATLAB root
# can be set from the output of `$(MEX) -v`. Therefore setting MEX to
# the empty string disables MATLAB support.

MEX ?= mex
MATLAB_PATH ?= $(strip $(shell $(MEX) -v 2>&1 | sed -n 's/.*MATLAB *= *\(.*\)/\1/gp'))
MATLAB_EXE ?= "$(MATLAB_PATH)/bin/matlab"

# if expand to empty string, set to empty string for use with ifdef
ifeq ($(MATLAB_PATH),)
{'fraction_non_alphanumeric': 0.13865546218487396, 'fraction_numerical': 0.0067226890756302525, 'mean_word_length': 3.4943396226415095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7610566', 'n_tokens_mistral': 431, 'n_tokens_neox': 407, 'n_words': 155}