The Brand Voice Codifier is a tool designed to analyze, capture, and codify a client's brand tone of voice for integration with copywriting systems. This application demonstrates the core functionality through three input methods, parameter extraction, visualization, and export options.
- Document Upload & Analysis: Upload brand documents (PDF, TXT) to extract voice parameters using intelligent AI analysis
- Conversational Brand Interview: Answer questions to define your brand voice with AI-enhanced interpretation
- Web Presence Scraper: Analyze website content for voice patterns using intelligent AI analysis
- Brand Personality Profile
- Formality Spectrum
- Emotional Tone Framework
- Vocabulary Profile
- Communication Style Parameters
- Audience Adaptation Guidelines
- Interactive dashboard for reviewing brand voice parameters
- Visual representations of brand voice characteristics
- Real-time example generation of meta ad headlines and taglines
- Well-formatted HTML report with print functionality
- JSON export for integration with copywriting systems
- API integration with external AI systems
-
Clone this repository
git clone https://github.com/tom2tomtomtom/BrandVoice.git cd BrandVoice -
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate -
Install the required packages:
pip install -r requirements.txt -
Download NLTK resources:
python -c "import nltk; nltk.download('punkt'); nltk.download('punkt_tab'); nltk.download('stopwords')"
-
Run the Flask application:
python main.py -
Open your web browser and navigate to http://localhost:5000
-
Choose one of the input methods:
- Upload a document (PDF or TXT)
- Complete the brand interview
- Analyze a website
-
Review the results in the dashboard
-
Export your brand voice parameters as a formatted report or JSON
Brand Voice Codifier/
├── main.py # Main Flask application
├── requirements.txt # Dependencies
├── README.md # This file
├── static/ # Static assets
│ ├── css/ # CSS stylesheets
│ └── js/ # JavaScript files
├── templates/ # HTML templates
│ ├── base.html # Base template
│ ├── index.html # Home page
│ ├── document_upload.html # Document upload page
│ ├── brand_interview.html # Brand interview page
│ ├── web_scraper.html # Web scraper page
│ ├── results.html # Results dashboard
│ ├── report.html # Formatted report
│ └── api_settings.html # API integration settings
├── uploads/ # Temporary storage for uploads
└── venv/ # Virtual environment (not tracked in git)
- Upload PDF or TXT files
- Extract text content
- Analyze for brand voice parameters
- Identify personality traits, emotional tone, and formality
- Multi-step interview process
- Customizable options with "Other" fields
- Comprehensive coverage of brand voice aspects
- Real-time form validation
- Analyze any public website
- Extract text content from paragraphs, headings, and lists
- Process content for brand voice parameters
- Identify patterns in online presence
- Visual representation of brand parameters
- Interactive charts
- Example ad copy generation
- Export options
- Professional HTML report
- Print-friendly design
- Comprehensive brand voice documentation
- Visual elements for easy understanding
- Advanced AI-powered analysis using OpenAI, Anthropic, Cohere, or custom systems
- More accurate and nuanced brand voice parameter extraction
- Deeper insights into personality traits, emotional tone, and communication style
- Automatic fallback to basic analysis if API is unavailable
- Secure API key management
- Connection status monitoring
- PDF export functionality
- Enhanced AI model integration and customization
- Additional input methods (e.g., competitor analysis)
- Enhanced visualization options
- User accounts and saved brand profiles
- Collaborative editing features
This project is licensed under the MIT License - see the LICENSE file for details.