<commit_before>/**
 * @license
 * Copyright 2018 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.ENUM({
  package: 'foam.nanos.dig',
  name: 'Format',

  documentation: 'DUG formats: JSON/XML.',

  values: [
    { name: 'JSON', label: 'JSON' },
    { name: 'XML',  label: 'XML'  }
  ]
});<commit_msg>Added more formats to dig.Format.<commit_after>/**
 * @license
 * Copyright 2018 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.ENUM({
  package: 'foam.nanos.dig',
  name: 'Format',

  documentation: 'DIG/DUG formats.',

  values: [
    { name: 'CSV',   label: 'CSV' },
    { name: 'HTML',  label: 'HTML' },
    { name: 'JSON',  label: 'JSON' },
    { name: 'JSONJ', label: 'JSON/J' },
    { name: 'XML',   label: 'XML'  }
  ]
});
{'fraction_non_alphanumeric': 0.20363636363636364, 'fraction_numerical': 0.014545454545454545, 'mean_word_length': 2.9711538461538463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '789442', 'n_tokens_mistral': 318, 'n_tokens_neox': 306, 'n_words': 73}