کتابهای برنامهنویسی
کتابهای برنامهنویسی برای یادگیری جاوااسکریپت.
A different letter, a missing half-space, a Persian digit. Small differences shouldn’t hide the content people are looking for.
Different forms. A shared search term.
A LITTLE SEARCH LAB
The demo could not load. Try another query to retry.
No matches in this sample collection.
کتابهای برنامهنویسی برای یادگیری جاوااسکریپت.
Both sides search the same six sample documents. The left checks for the exact phrase. The right uses the full analyzer with verb lemmas, then requires every query term to match. This is a small teaching example, not a speed test or a comparison with another search engine. Correction suggestions use this collection’s vocabulary and can be wrong.
Try “كتاب”, “16” or “مي روم”. Queries stay in your browser; this demo does not send them to a server.
Normalize Arabic and Persian letter variants, digit styles and spacing before matching text.
Choose stemming, then add the full lexicon for forms such as irregular plurals and verb lemmas.
Search with analyzed terms. Show the original spelling, with token offsets available for highlighting.
USED RIGHT HERE
Our Persian documentation uses FA Search Kit with Pagefind: full analysis, a shared setup for indexing and queries, and excerpts from the original text.
Try our Persian docs searchANALYSIS, THEN SEARCH
FA Search Kit handles Persian text. Your engine still handles indexing, ranking and retrieval. Use an adapter or connect the analyzer to your own search.
import { createAnalyzer } from 'fa-search-kit';
import { lexicon } from 'fa-search-kit/lexicon';
const fa = createAnalyzer({
profile: 'full', lexicon, verbs: 'lemma'
});
// Index and query with the same analyzer.
fa.analyze('کتابهای برنامهنویسی', { mode: 'index' });
fa.analyze('كتاب', { mode: 'query' }); // ['کتاب']Use the same profile and options when building the index and analyzing queries.
Currently available from source; not yet published to npm. Follow the installation guide to build the released source.
Read the setup guide