<commit_before>! (c)2010 <NAME> bsd license
USING: help.markup help.syntax kernel ;
IN: vocabs.metadata.resources

HELP: expand-vocab-resource-files
{ $values
    { "vocab" "a vocabulary specifier" } { "resource-glob-strings" "a sequence of glob patterns" }
    { "filenames" "a sequence of filenames" }
}
{ $description "Matches all the glob patterns in " { $snippet "resource-glob-strings" } " to the set of files inside " { $snippet "vocab" } "'s directory and outputs a sequence containing the individual files and directories that match. Any matching directories will also have their contents recursively included in the output. The paths in the output will be relative to " { $snippet "vocab" } "'s directory." } ;

HELP: vocab-resource-files
{ $values
    { "vocab" "a vocabulary specifier" }
    { "filenames" "a sequence of filenames" }
}
{ $description "Outputs a sequence containing the individual resource files and directories that match the patterns specified in " { $snippet "vocab" } "'s " { $snippet "resources.txt" } " file. Any matching directories will also have their contents recursively included in the output. The paths in the output will be relative to " { $snippet "vocab" } "'s directory." } ;

ARTICLE: "vocabs.metadata.resources" "vocabs.metadata.resources"
"The " { $vocab-link "vocabs.metadata.resources" } " vocabulary contains words to retrieve the full list of files that match the patterns specified in a vocabulary's " { $snippet "resources.txt" } " file."
{ $subsections
    vocab-resource-files<commit_msg>vocabs.metadata.resources: fix help lint<commit_after>! (c)2010 <NAME> bsd license
USING: help.markup help.syntax kernel ;
IN: vocabs.metadata.resources

HELP: expand-vocab-resource-files
{ $values
    { "vocab" "a vocabulary specifier" } { "resource-glob-strings" "a sequence of glob patterns" }
    { "filenames" "a sequence of filenames" }
}
{ $description "Matches all the glob patterns in " { $snippet "resource-glob-strings" } " to the set of files inside " { $snippet "vocab" } "'s directory and outputs a sequence containing the individual files and directories that match. Any matching directories will also have their contents recursively included in the output. The paths in the output will be relative to " { $snippet "vocab" } "'s directory." } ;

HELP: vocab-resource-files
{ $values
    { "vocab" "a vocabulary specifier" }
    { "filenames" "a sequence of filenames" }
}
{ $description "Outputs a sequence containing the individual resource files and directories that match the patterns specified in " { $snippet "vocab" } "'s " { $snippet "resources.txt" } " file. Any matching directories will also have their contents recursively included in the output. The paths in the output will be relative to " { $snippet "vocab" } "'s directory." } ;

ARTICLE: "vocabs.metadata.resources" "Vocabulary resource metadata"
"The " { $vocab-link "vocabs.metadata.resources" } " vocabulary contains words to retrieve the full list of files that match the patterns specified in a vocabulary's " { $snippet "resources.txt" } " file."
{ $subsections
    vocab-resource-files
{'fraction_non_alphanumeric': 0.10423348300192431, 'fraction_numerical': 0.0025657472738935213, 'mean_word_length': 4.530141843971631, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4935066', 'n_tokens_mistral': 916, 'n_tokens_neox': 891, 'n_words': 356}