<commit_before>package chinwag

import (
  "os"
  "fmt"
  "log"
  "bytes"
  "unsafe"
  "reflect"
  "io/ioutil"
)

/*
#include "chinwag.h"
*/
import "C"

const Version = "1.2.3"

type CWDict C.struct_dictionary_container_type

type CWType uint8
const (
  Letters CWType = CWType(C.CW_LETTERS)
  Words CWType = CWType(C.CW_WORDS)
  Sentences CWType = CWType(C.CW_SENTENCES)
  Paragraphs CWType = CWType(C.CW_PARAGRAPHS)
)
<commit_msg>Added CFLAGS to make Go compiler happy in Travis-CI<commit_after>package chinwag

import (
  "os"
  "fmt"
  "log"
  "bytes"
  "unsafe"
  "reflect"
  "io/ioutil"
)

/*
#cgo CFLAGS: -std=c99
#include "chinwag.h"
*/
import "C"

const Version = "1.2.3"

type CWDict C.struct_dictionary_container_type

type CWType uint8
const (
  Letters CWType = CWType(C.CW_LETTERS)
  Words CWType = CWType(C.CW_WORDS)
  Sentences CWType = CWType(C.CW_SENTENCES)
  Paragraphs CWType = CWType(C.CW_PARAGRAPHS)
)

{'fraction_non_alphanumeric': 0.12229437229437229, 'fraction_numerical': 0.010822510822510822, 'mean_word_length': 4.0271739130434785, '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': '6660954', 'n_tokens_mistral': 444, 'n_tokens_neox': 405, 'n_words': 83}