Query Intent Classifier

Detect if a search query is a natural language question or a keyword search

Works in 50+ languages • 97.6% accuracy • 9.6 KB model

Using pre-computed examples

Try These Examples

Click any example to see instant classification (pre-computed)

Questions

Keywords

Works in 50+ Languages

How It Works

1

Generate Embedding

Query is converted to a 384-dimensional vector using a multilingual sentence transformer

2

Linear Classification

A tiny classifier (384 weights + bias) computes: score = dot(embedding, weights) + bias

3

Intent Decision

If score > 0 → Question (natural language). If score ≤ 0 → Keyword search.