GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - neurodivergent-dev/ZScore: A sophisticated web application for text analysis and Shannon Entropy calculation.

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
assets
assets
 
 
public
public
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
intlayer.config.ts
intlayer.config.ts
 
 
intlayer.md
intlayer.md
 
 
netlify.toml
netlify.toml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
tailwind.config.js
tailwind.config.js
 
 
tsconfig.app.json
tsconfig.app.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.ts
vite.config.ts
 
 
zscore-manifesto.md
zscore-manifesto.md
 
 

Repository files navigation

Shannon Entropy Calculator

A sophisticated web application for text analysis and Shannon entropy calculation. This application provides insights into text complexity, lexical diversity, and information content through statistical analysis.

Netlify Status

๐Ÿš€ Live Demo

๐Ÿ”— Click here to try the Shannon Entropy Calculator

Features

  • Text Analysis: Analyze any text input for statistical properties
  • Word Count: Get the total number of words in the text
  • Unique Words: Identify and count unique words in the text
  • Lexical Diversity: Calculate the ratio of unique words to total words
  • Shannon Entropy: Measure the information content or unpredictability of text
  • Word Frequency: Visualize the frequency distribution of words
  • Analysis History: Save and review past analyses with persistent storage
  • Multi-language Support: Full internationalization with English and Turkish languages
  • Responsive Design: Optimized for both desktop and mobile devices
  • Dark/Light Mode: Toggle between light and dark themes for comfortable viewing
  • Persistent Settings: User preferences for language and theme are saved between sessions

Technology Stack

  • React 18+: Modern UI library with functional components and hooks
  • TypeScript: Full type safety throughout the project
  • Vite: Lightning-fast build tool and development server
  • Tailwind CSS: Utility-first CSS framework for responsive design
  • Zustand: Simple state management without boilerplate
  • Framer Motion: Animation library for smooth UI transitions
  • Intlayer: Advanced, type-safe internationalization solution for React
  • Persistent Storage: Local storage for saving user preferences and history

Getting Started

Prerequisites

Make sure you have the following installed:

  • Node.js (v16 or later)
  • npm (v7 or later)

Installation

  1. Clone the repository:
git clone https://github.com/melihcanndemir/ZScore.git
cd ZScore
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open your browser and navigate to http://localhost:5173

About Shannon Entropy

Shannon entropy is a measure of the average level of information or "surprise" inherent in a variable's possible outcomes. It quantifies the expected value of the information contained in a message and is measured in bits, nats, or bans depending on the logarithm base used.

Formula

The Shannon entropy H(X) of a discrete random variable X is given by:

H(X) = -ฮฃ p(x) logโ‚‚ p(x)

Where:

  • p(x) is the probability mass function of X
  • logโ‚‚ is the binary logarithm (base 2)

In text analysis, this measures how unpredictable or informative the text is. Higher entropy indicates more diverse, unpredictable text, while lower entropy suggests more predictable, repetitive text.

๐ŸŒ Internationalization

The application supports multiple languages:

  • English (default)
  • Turkish

Language settings are automatically saved and restored between sessions. You can switch languages using the language toggle in the navigation bar.

Advanced Internationalization Guide: For a comprehensive, type-safe, and advanced i18n setup using Intlayer (React + Vite + TypeScript), see the Intlayer Integration Guide.

๐Ÿ“ฑ Mobile Support

The application is fully responsive and optimized for mobile devices:

  • Adaptive layout for different screen sizes
  • Touch-friendly interface
  • Hamburger menu for navigation on small screens
  • Optimized reading experience on mobile devices

๐Ÿ“œ ZScore Manifesto

Learn about the philosophy and design process behind this project.
๐Ÿ”— Read the manifesto

๐Ÿงช Try These Samples

  • "The sky above the port was the color of television, tuned to a dead channel."
  • "All human beings are born free and equal in dignity and rights."
  • "AAAAAAAAAAAAAAA"

๐Ÿ–ผ Preview

App Demo

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Claude Shannon for his groundbreaking work in information theory
  • The React team for their excellent framework
  • The open-source community for providing amazing tools
  • Contributors who helped improve the project

About

A sophisticated web application for text analysis and Shannon Entropy calculation.

zscore-ai.netlify.app/

Topics

ai-assisted-developmentcognitive-uicursor-aideveloper-philosophyeslintinformation-theorylanguage-modelslexical-analysisnetlifyreactrecursive-promptingsemantic-analysisshannon-entropysoftware-engineeringtailwindcsstextual-entropythought-quantificationtypescriptvitezscore

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.