<commit_before>/* goprep demo : nocomments : removes all comments */

package main

import (
	"github.com/bytbox/goprep"
)

func main() {
	tokIn, tokOut, done := goprep.StdInit()
	for tok := range tokIn {
		str := tok.Str
		tokOut <- str
	}
	close(tokOut)
	<-done
}<commit_msg>Ignoring comments in nocomments<commit_after>/* goprep demo : nocomments : removes all comments */

package main

import (
	"github.com/bytbox/goprep"
)

func main() {
	tokIn, tokOut, done := goprep.StdInit()
	for tok := range tokIn {
		if tok.Token != token.COMMENT {
			str := tok.Str
			tokOut <- str
		}
	}
	close(tokOut)
	<-done
}
{'fraction_non_alphanumeric': 0.14052287581699346, 'fraction_numerical': 0.0, 'mean_word_length': 3.3785714285714286, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1320591', 'n_tokens_mistral': 252, 'n_tokens_neox': 236, 'n_words': 60}