tartrazine/internal
Alexander Bezzubov 78eee0cf7e
generator: flag to debug building of bayesian classifier
It seems that reading ./samples/ from Linguist consumes
a different number of files from filesystem on different OSes.

This change adds ENRY_DEBUG env var to print some debug output
about calculations of token stats from  samples.

TestPlan:
 - ENRY_DEBUG=1 go test -v ./internal/code-generator/generator \
	-run Test_GeneratorTestSuite -testify.m TestGenerationFiles

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2020-03-29 19:35:49 +02:00
..
code-generator generator: flag to debug building of bayesian classifier 2020-03-29 19:35:49 +02:00
tokenizer tokenizer: hide flex-based impl, avoid build failures on win 2020-03-19 19:58:48 +01:00