Skip to content

Add root-based stemmer as second button to website demo#48

Draft
assem-ch with Copilot wants to merge 2 commits into
masterfrom
copilot/add-root-based-stemmer-demo
Draft

Add root-based stemmer as second button to website demo#48
assem-ch with Copilot wants to merge 2 commits into
masterfrom
copilot/add-root-based-stemmer-demo

Conversation

Copilot AI commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Issue #27 requested adding the root-based stemmer to the website demo alongside the existing light stemmer.

Changes

  • Generated JavaScript stemmers using Snowball 3.0.0 compiler:

    • arabic-light-stemmer.js (90KB) - from algorithm/arabic.sbl
    • arabic-root-stemmer.js (90KB) - from algorithm/arabic_root.sbl
    • base-stemmer.js (12KB) - Snowball base class
  • Created index.html - Interactive demo with:

    • Two stemmer buttons (Light / Root-Based)
    • Real-time client-side processing via ES6 modules
    • Bilingual UI (Arabic/English) with RTL support
    • Results display showing original → stemmed mappings
    • Comparison table demonstrating stemmer differences

Technical Notes

All stemming executes client-side using Snowball-generated JavaScript. No external dependencies. Files placed in repository root for GitHub Pages deployment.

Screenshot

Demo interface showing both stemmer buttons

The demo displays both buttons prominently, processes Arabic text in <2ms, and shows comparative results between light stemming and root extraction approaches.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • arabicstemmer.com
    • Triggering command: /usr/bin/curl curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>The root-based stemmer should be also added to the website demo as a second button</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: assem-ch <315228+assem-ch@users.noreply.github.com>
Copilot AI changed the title [WIP] Add root-based stemmer to website demo as second button Add root-based stemmer as second button to website demo Feb 16, 2026
Copilot AI requested a review from assem-ch February 16, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The root-based stemmer should be also added to the website demo as a second button

2 participants