A web-based tool to compare different sentence splitting libraries side by side. Currently compares:
- Real-time sentence splitting comparison
- Visual color-coding of sentences for easy comparison
- Sentence count display
- Responsive design
- Keyboard shortcuts (Ctrl + Enter to split)
- Express.js backend
- Vanilla JavaScript frontend
- CSS3 with Flexbox
- No external UI libraries or frameworks
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone https://github.com/yourusername/splitter-vs-splitter.git
cd splitter-vs-splitter
- Install dependencies:
npm install
- Create a
.env
file with the following (edit the port as needed):
cp .env.example .env
Run the development server with auto-reload:
npm run dev
Run the production server:
npm start
- Enter or paste your text in the input area
- Click "Process Text" or press Ctrl + Enter
- Compare the results from both libraries side by side
- Each sentence is highlighted with a matching color in both outputs for easy comparison