<commit_before>// Copyright (c) 2011 <NAME>
// Distributable under the terms of The New BSD License
// that can be found in the LICENSE file.

// Package ni488 wraps National Instruments 488.2 General Purpose Interface
// Bus (GPIB) driver. The driver allows a client application to communicate
// with a GPIB enabled piece of test equipment remotely and/or programmatically.
// NI-488.2 is an industry standard for GPIB communications.
//
// The package is low level and, for the most part, is one-to-one with the
// exported C functions it wraps. Clients would typically build instrument
// drivers around the package but it can also be used directly.
//
// Lots of miscellaneous NI-488.2 information:
//     http://sine.ni.com/psp/app/doc/p/id/psp-356
//
// GPIB Driver Versions for Microsoft Windows and DOS:
//     http://zone.ni.com/devzone/cda/tut/p/id/5326#toc0
//
// GPIB Driver Versions for non-Microsoft Operating Systems:
//     http://zone.ni.com/devzone/cda/tut/p/id/5458
//
// Direct download: http://download.ni.com/support/softlib/gpib/
//
package ni488

// TODO:
// -

/*
#cgo linux LDFLAGS: -lgpibapi
#cgo darwin CFLAGS: -I.
#cgo darwin LDFLAGS: -framework NI488
#cgo windows CFLAGS: -I.
#cgo windows LDFLAGS: -lgpib-32 -LC:/WINDOWS/system32
#include <stdlib.h>
#if defined(__amd64) || defined(__amd64__) || defined(__x86_64) || defined(__x86_64__)
#define size_g size_t
#include <ni4882.h>
#else
#define size_g long
#include <ni488.h>
#endif
*/
import "C"<commit_msg>ongoing build fixes<commit_after>// Copyright (c) 2011 <NAME>
// Distributable under the terms of The New BSD License
// that can be found in the LICENSE file.

// Package ni488 wraps National Instruments 488.2 General Purpose Interface
// Bus (GPIB) driver. The driver allows a client application to communicate
// with a GPIB enabled piece of test equipment remotely and/or programmatically.
// NI-488.2 is an industry standard for GPIB communications.
//
// The package is low level and, for the most part, is one-to-one with the
// exported C functions it wraps. Clients would typically build instrument
// drivers around the package but it can also be used directly.
//
// Lots of miscellaneous NI-488.2 information:
//     http://sine.ni.com/psp/app/doc/p/id/psp-356
//
// GPIB Driver Versions for Microsoft Windows and DOS:
//     http://zone.ni.com/devzone/cda/tut/p/id/5326#toc0
//
// GPIB Driver Versions for non-Microsoft Operating Systems:
//     http://zone.ni.com/devzone/cda/tut/p/id/5458
//
// Direct download: http://download.ni.com/support/softlib/gpib/
//
package ni488

// TODO:
// -

/*
#cgo linux LDFLAGS: -lgpibapi
#cgo darwin CFLAGS: -I.
#cgo darwin LDFLAGS: -framework NI488
#cgo windows CFLAGS: -I.
#cgo windows LDFLAGS: -lgpib-32 -LC:/WINDOWS/system32
#include <stdlib.h>
#if defined(__amd64) || defined(__amd64__) && !defined(__APPLE__)
#define size_g size_t
#include <ni4882.h>
#else
#define size_g long
#include <ni488.h>
#endif
*/
import "C"
{'fraction_non_alphanumeric': 0.12402838796890842, 'fraction_numerical': 0.037850625211220006, 'mean_word_length': 3.4377811094452775, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1802810', 'n_tokens_mistral': 1086, 'n_tokens_neox': 962, 'n_words': 336}