<commit_before>// +build gofuzz

package ipfix

import (
	"bytes"
	"fmt"
	"io"
	"os"

	"code.google.com/p/gcfg"
)

var extra []DictionaryEntry

func init() {
	if dictFile := os.Getenv("IPFIXDICT"); dictFile != "" {
		var dict UserDictionary
		err := gcfg.ReadFileInto(&dict, dictFile)
		if err != nil {
			panic(err)
		}

		for name, field := range dict.Field {<commit_msg>Use new gcfg import path<commit_after>// +build gofuzz

package ipfix

import (
	"bytes"
	"fmt"
	"io"
	"os"

	"gopkg.in/gcfg.v1"
)

var extra []DictionaryEntry

func init() {
	if dictFile := os.Getenv("IPFIXDICT"); dictFile != "" {
		var dict UserDictionary
		err := gcfg.ReadFileInto(&dict, dictFile)
		if err != nil {
			panic(err)
		}

		for name, field := range dict.Field {
{'fraction_non_alphanumeric': 0.15312916111850866, 'fraction_numerical': 0.0013315579227696406, 'mean_word_length': 3.5301204819277108, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7507117', 'n_tokens_mistral': 311, 'n_tokens_neox': 292, 'n_words': 74}