ad-guardian / README.md
Nanny7's picture
Fix short_description length
1c892bb
|
raw
history blame
3.73 kB
metadata
title: ContentGuardian - Content Audit Agent
emoji: ๐Ÿ›ก๏ธ
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
short_description: Content Audit Agent with Hanyu Xinxie Style

๐Ÿ›ก๏ธ ContentGuardian - Content Audit Agent

China ยท Simplified Chinese ยท Hanyu Xinxie Style ยท Text-based Version

An intelligent content audit system that integrates Chinese culture with modern design concepts, embodying the restrained elegance of Chinese aesthetics.

โœจ Key Features

  • ๐Ÿšซ Inappropriate Advertising Language Detection: Detects 32 common violation words
  • ๐Ÿ” Precise Keyword Marking: Marks user-specified keyword positions
  • ๐Ÿ“Š Structured Audit Reports: Standardized text output format
  • ๐ŸŽจ Hanyu Xinxie Aesthetic Style: Embodies the restrained elegance of Chinese culture
  • โšก Stable and Reliable: Avoids segmentation faults, ensures system stability

๐Ÿ” Detection Scope

Inappropriate Advertising Language (32 types)

  • Absolute terms: ็ปๅฏน, ๅฎŒๅ…จ, 100%, ๆฐธ่ฟœ, ไปŽไธ, ๅฟ…้กป, ไธ€ๅฎš
  • Superlative terms: ็ฌฌไธ€, ๆœ€ๅฅฝ, ๆœ€ไฝณ, ๆœ€ไผ˜, ๆœ€ๅผบ, ๆœ€ๅคง, ๆœ€ๅฐ
  • Exaggerated terms: ๆžๅบฆ, ่ถ…็บง, ้กถ็บง, ็Ž‹็‰Œ, ๅ† ๅ†›, ้œธไธป
  • Time-sensitive terms: ็ซ‹ๅณ, ้ฉฌไธŠ, ็žฌ้—ด, ็ง’ๆ€, ๆ€ฅ้€Ÿ, ้ฃž้€Ÿ
  • Mystical terms: ็ฅžๅฅ‡, ๅฅ‡่ฟน, ไธ‡่ƒฝ, ๆ— ๆ•Œ, ๅฎŒ็พŽ, ็ปˆๆž

Keyword Marking

  • Precisely locates keywords in text
  • Counts keyword occurrences
  • Supports multiple keyword marking simultaneously

๐Ÿ“Š Report Format

The system generates audit reports containing:

  • Audit Overview: Total issues, severity level, text length, audit time
  • Inappropriate Advertising Language Detection: Detailed words, occurrence counts, position information
  • Keyword Marking: Keyword occurrence counts and positions
  • Detailed Analysis: Compliance recommendations, risk level, handling suggestions
  • Design Philosophy: Reflects the cultural connotations of Hanyu Xinxie

๐ŸŽจ Design Philosophy

This system adopts the Hanyu Xinxie style, integrating Chinese culture with modern design:

  • Cultural Connotation: Embodies the restrained elegance of Chinese culture
  • Visual Aesthetics: Uses ASCII art borders and dividers
  • Text Expression: Focuses on accuracy and standardization of expression
  • Structured Output: Clear information organization and presentation

๐ŸŒŸ Example

Input Text:

This product is absolutely effective, completely side-effect free, the first brand! Buy immediately, instant results!

Keywords:

product,effect

Output Report:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘                    ๐Ÿ“‹ ๅ†…ๅฎนๅฎกๆ ธๆŠฅๅ‘Š                           โ•‘
โ•‘                  ไธญๅ›ฝยท็ฎ€ไฝ“ไธญๆ–‡ยทๆฑ‰่ฏญๆ–ฐ่งฃ้ฃŽๆ ผ                   โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ“Š ๅฎกๆ ธๆฆ‚่งˆ
โ”œโ”€ ๆ€ป้—ฎ้ข˜ๆ•ฐ๏ผš5 ๅค„
โ”œโ”€ ไธฅ้‡็จ‹ๅบฆ๏ผš้ซ˜
โ”œโ”€ ๆ–‡ๆœฌ้•ฟๅบฆ๏ผš95 ๅญ—็ฌฆ
โ””โ”€ ๅฎกๆ ธๆ—ถ้—ด๏ผš2024-01-01 12:00:00
...

๐Ÿš€ Usage

  1. Input Text: Enter the text content to be audited
  2. Keyword Marking: Enter keywords to mark (separated by commas)
  3. Start Audit: Click the "Submit" button
  4. View Report: The system generates a detailed structured audit report

๐Ÿ“„ License

MIT License


ContentGuardian - Guarding content quality, embodying cultural beauty