<commit_before># Author: <NAME>
# Created: 2012-12-28
# License: BSD
VERSION="0.1.1"
#
# Description
# -------------------------------------------------------
# Toolkit used to simplify offline editing of slackdocs
#  wiki content for http://docs.slackware.com
#


#------ TODO List -------
#   1. See if the script is causing terminal wrapping issues from font colors
#   and fix them
#   12. Add a page to the wiki with vim optimizations and refer to them in
#   the script
#   13. Clean up the script
#   14. Add hooks for IsOnline where appropriate
#   15. Make a function to write list of templates into an array using the
#     read line function
#   15. Change SetTemps to use the function to set templates
#   16. Change RefreshTemplates to use the function to set templates

# Define the path to the repo directory
TMP_DIR="/tmp"

# Define the variables
EXTENSION="slackdoc"
FILETYPE="slackdocs"
SYNF_VIM="slackdocs.vim"
SYNTAX_DIR="${REPO_PATH}/syntax_files"
TEMPLATE_DIR="${SD_DIR}/templates"
#TEMPLATE_IND=""
#DOC_TITLE=${DOC_TITLE:-"new"}

# Currently pointing tomf_test, needs to be movedto master when stable
GIT_URL="https://raw.github.com/mfillpot/slackdoctool"
VERSION_URL="${GIT_URL}/versions.txt"
SCRIPT_URL="${GIT_URL}/slackdoctool"
SOURCE_URL="https://raw.github.com/mfillpot/sdtbase"
SYNTAX_URL="${SOURCE_URL}/syntax_files"

SD_URL="http://docs.slackware.com"
TEMP_URL="${SD_URL}/wiki:user:mfillpot:template_list"
TEMP_FILE="${SD_DIR}/templates.txt"

# Set Output font colors
BLDTXT=$(tput bold)
NRMTXT=$(tput sgr0)
ERRTXT=$(tput setaf 1)
SCSTXT=$(tput setaf 2)
<commit_msg>Removed SYNTAX_DIR as it is no longer used<commit_after># Author: <NAME>
# Created: 2012-12-28
# License: BSD
VERSION="0.1.1"
#
# Description
# -------------------------------------------------------
# Toolkit used to simplify offline editing of slackdocs
#  wiki content for http://docs.slackware.com
#


#------ TODO List -------
#   1. See if the script is causing terminal wrapping issues from font colors
#   and fix them
#   12. Add a page to the wiki with vim optimizations and refer to them in
#   the script
#   13. Clean up the script
#   14. Add hooks for IsOnline where appropriate
#   15. Make a function to write list of templates into an array using the
#     read line function
#   15. Change SetTemps to use the function to set templates
#   16. Change RefreshTemplates to use the function to set templates

# Define the path to the repo directory
TMP_DIR="/tmp"

# Define the variables
EXTENSION="slackdoc"
FILETYPE="slackdocs"
SYNF_VIM="slackdocs.vim"
SD_DIR="${HOME}/slackdocs"
SYNTAX_DIR="${REPO_PATH}/syntax_files"
TEMPLATE_DIR="${SD_DIR}/templates"
#TEMPLATE_IND=""
#DOC_TITLE=${DOC_TITLE:-"new"}

# Currently pointing tomf_test, needs to be movedto master when stable
GIT_URL="https://raw.github.com/mfillpot/slackdoctool"
VERSION_URL="${GIT_URL}/versions.txt"
SCRIPT_URL="${GIT_URL}/slackdoctool"
SOURCE_URL="https://raw.github.com/mfillpot/sdtbase"
SYNTAX_URL="${SOURCE_URL}/syntax_files"

SD_URL="http://docs.slackware.com"
TEMP_URL="${SD_URL}/wiki:user:mfillpot:template_list"
TEMP_FILE="${SD_DIR}/templates.txt"

# Set Output font colors
BLDTXT=$(tput bold)
NRMTXT=$(tput sgr0)
ERRTXT=$(tput setaf 1)
SCSTXT=$(tput setaf 2)

{'fraction_non_alphanumeric': 0.1529230769230769, 'fraction_numerical': 0.016615384615384615, 'mean_word_length': 3.986196319018405, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '609569', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1075, 'n_words': 318}