Here's an equivalent Python script that classifies files in an input folder recursively and creates separate folders for each category (Documents, Torrents, Music, Videos, Programs). It also includes instructions for running it as a cronjob every day at noon.

```python
import os
import shutil

# Set the input folder (defaults to ~/Downloads)
input_folder = os.path.expanduser('~/Downloads')

# Create category folders if they don't exist
categories = ['Documents', 'Torrents', 'Music', 'Videos', 'Programs']
for category in categories:
    os.makedirs(os.path.join(input_folder, category), exist_ok=True)

# Move files to respective category folders
for root, dirs, files in os.walk(input_folder):
    for file in files:
        file_path = os.path.join(root, file)
        mime_type = shutil.which('file') and shutil.run(['file', '-b', '--mime-type', file_path], capture_output=True, text=True).stdout.strip()
        if mime_type:
            if mime_type.startswith('application/pdf') or mime_type.startswith('text/'):
                shutil.move(file_path, os.path.join(input_folder, 'Documents'))
            elif mime_type == 'application/x-bittorrent':
                shutil.move(file_path, os.path.join(input_folder, 'Torrents'))
            elif mime_type.startswith('audio/') or mime_type.endswith('/ogg'):
                shutil.move(file_path, os.path.join(input_folder, 'Music'))
            elif mime_type.startswith('video/'):
                shutil.move(file_path, os.path.join(input_folder, 'Videos'))
            elif mime_type.startswith('application/'):
                shutil.move(file_path, os.path.join(input_folder, 'Programs'))
```

To set up the script as a cronjob to run every day at noon, follow these steps:

1. Save the script to a file, for example, file_classification.py.
2. Open your crontab for editing by running crontab -e.
3. Add the following line to the crontab file:
```bash
0 12 * * * python3 /path/to/file_classification.py
```
4. Replace /path/to/file_classification.py with the actual path where you saved the script.
5. Save the crontab file and exit the editor.

This cronjob will execute the script every day at noon (12:00 PM) and classify the files in the specified folder.

Please make sure to replace /path/to/file_classification.py with the actual path where you saved the script, and modify the script if you want to use a different set of category folders or add additional file types to the categories.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence