splitter-vs-splitter
A web-based tool to compare different sentence splitting libraries side by side. Currently compares:
A web-based tool to compare different sentence splitting libraries side by side, currently pitting @stdlib/nlp-sentencize against sentence-parse. It performs real-time comparison with color-coding so matching sentences line up visually across both outputs, and displays a sentence count. The frontend is vanilla JavaScript with an Express.js backend and no external UI frameworks. Text is processed by clicking a button or pressing Ctrl+Enter.
Getting Started
Prerequisites
- Node.js (v14 or higher)
- npm (v6 or higher)
Installation
- Clone the repository:
git clone https://github.com/yourusername/splitter-vs-splitter.git
cd splitter-vs-splitter
- Install dependencies:
npm install
- Create a
.envfile with the following (edit the port as needed):
cp .env.example .env
Development
Run the development server with auto-reload:
npm run dev
Production
Run the production server:
npm start