<commit_before>/*
 * Copyright (c) 1995, Index Data
 * See the file LICENSE for details.
 * <NAME>, <NAME>
 *
 * $Log: diagbib1.c,v $
 * Revision 1.6  1997-07-01 14:15:10  adam
 * Added new BIB-1 diagnostic messages.
 *
 * Revision 1.5  1996/01/02 13:57:30  adam
 * Added error messages.
 *
 * Revision 1.4  1995/09/29  17:11:52  quinn
 * Smallish
 *
 * Revision 1.3  1995/09/27  15:02:39  quinn
 * Modified function heads & prototypes.
 *
 * Revision 1.2  1995/05/16  08:50:21  quinn
 * License, documentation, and memory fixes
 *
 * Revision 1.1  1995/03/15  13:46:09  adam
 * New function diagbib1_str.
 *
 */

#include <stdio.h>

#include "diagbib1.h"

struct {
    int code;
    char *msg;
} msg_tab[] = {
{ 1, "Permanent system error" },
{ 2, "Temporary system error" },
{ 3, "Unsupported search" },
{ 4, "Terms only exclusion (stop) words" },
{ 5, "Too many argument words" },
{ 6, "Too many boolean operators" },
{ 7, "Too many truncated words" },
{ 8, "Too many incomplete subfields" },
{ 9, "Truncated words too short" },
{ 10, "Invalid format for record number (search term)" },
{ 11, "Too many characters in search statement" },
{ 12, "Too many records retrieved" },<commit_msg>Added static modifier to msg_tab.<commit_after>/*
 * Copyright (c) 1995-1997, Index Data
 * See the file LICENSE for details.
 * <NAME>, <NAME>
 *
 * $Log: diagbib1.c,v $
 * Revision 1.7  1997-09-29 07:22:26  adam
 * Added static modifier to msg_tab.
 *
 * Revision 1.6  1997/07/01 14:15:10  adam
 * Added new BIB-1 diagnostic messages.
 *
 * Revision 1.5  1996/01/02 13:57:30  adam
 * Added error messages.
 *
 * Revision 1.4  1995/09/29  17:11:52  quinn
 * Smallish
 *
 * Revision 1.3  1995/09/27  15:02:39  quinn
 * Modified function heads & prototypes.
 *
 * Revision 1.2  1995/05/16  08:50:21  quinn
 * License, documentation, and memory fixes
 *
 * Revision 1.1  1995/03/15  13:46:09  adam
 * New function diagbib1_str.
 *
 */

#include <stdio.h>

#include "diagbib1.h"

static struct {
    int code;
    char *msg;
} msg_tab[] = {
{ 1, "Permanent system error" },
{ 2, "Temporary system error" },
{ 3, "Unsupported search" },
{ 4, "Terms only exclusion (stop) words" },
{ 5, "Too many argument words" },
{ 6, "Too many boolean operators" },
{ 7, "Too many truncated words" },
{ 8, "Too many incomplete subfields" },
{ 9, "Truncated words too short" },
{ 10, "Invalid format for record number (search term)" },
{ 11, "Too many characters in search statement" },
{ 12, "Too many records retrieved" },
{'fraction_non_alphanumeric': 0.14468937875751503, 'fraction_numerical': 0.10340681362725451, 'mean_word_length': 3.3484320557491287, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7006887', 'n_tokens_mistral': 1103, 'n_tokens_neox': 899, 'n_words': 293}