<commit_before>#! /usr/bin/env bash

if [[ "$(uname -s)" == "Darwin" ]]; then
    if [[ "$#" -eq 2 ]];then
        device=/dev/disk$(diskutil list | s -i $1 | s -o '(?<=disk).*?(?=$)')
        echo $device

        if [[ ! -e "$device" ]];then
            echo "cannot find such device"
            exit
        else
            echo "1. umount $device"
            sudo umount $device
        fi

        if ! command -v "ntfs-3g" > /dev/null; then
            echo "plz install ntfs-3g first"
            exit
        else
            echo "ntfs-3g $device $2"
            sudo ntfs-3g $device $2
        fi
    else
        echo "Usage: command device_qualifier mount_point"
        echo "For device_qualifier, use `diskutil list` to check candidates"
        echo "Example: command QPTP /mnt"<commit_msg>feat: add more descriptions for ntfs-3g-tool.bash<commit_after>#! /usr/bin/env bash

if [[ "$(uname -s)" == "Darwin" ]]; then
    if [[ "$#" -eq 2 ]];then
        device=/dev/disk$(diskutil list | s -i $1 | s -o '(?<=disk).*?(?=$)')
        echo $device

        if [[ ! -e "$device" ]];then
            echo "cannot find such device"
            exit
        else
            echo "1. umount $device"
            sudo umount $device
        fi

        if ! command -v "ntfs-3g" > /dev/null; then
            echo "plz install ntfs-3g first"
            exit
        else
            echo "ntfs-3g $device $2"
            sudo ntfs-3g $device $2
        fi
    else
        echo "Usage: command device_qualifier mount_point"
        echo "For device_qualifier, use `diskutil list` to check candidates"
        echo "Example: command QPTP /mnt"
        echo "And for unmount, use `diskutil unmount` to unmount partition first, then use `diskutil unmountDisk` to unmount disk"
{'fraction_non_alphanumeric': 0.12899607403252944, 'fraction_numerical': 0.01065619742007852, 'mean_word_length': 1.7403993855606759, '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': '7209170', 'n_tokens_mistral': 591, 'n_tokens_neox': 562, 'n_words': 190}