Jev directory
CommunityJev Integrations & Adapters
Survos Classifier Bundle
Symfony bundle that assigns controlled labels to text using vocabularies and interchangeable strategies: word rules, tag votes, or typed judgments from TypeSafe's Jev model, with a benchmark that scores those strategies against labeled data.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Install with composer require survos/classifier-bundle; the rules strategies need no configuration.
- Ships vocabularies: media_topics (1,085 topics under 17 roots), country (249 under 6 regions), us_metro (393 areas).
- The jev strategy registers only when symfony/ai-type-safe-platform is installed and TYPESAFE_API_KEY is set.
- Two Jev modes: labels (one yes/no question per concept, sent together) and walk (tree traversal keeping the best beam paths).
- Editor assignments are never replaced or removed, and a strategy that cannot tell abstains instead of guessing.
Questions about this entry
Short answers drawn from the linked project or page.
Run composer require survos/classifier-bundle. No configuration is needed for the rules strategies. For Jev, also require symfony/ai-type-safe-platform and set TYPESAFE_API_KEY, or point the bundle at a platform you already configured.
media_topics (a tree of 1,085 IPTC Media Topics under 17 roots, registered only when survos/media-topics is installed), country (249 countries under 6 UN M49 regions from symfony/intl), and us_metro (393 Census Bureau metropolitan statistical areas, July 2023).
rules and rules_headline match trigger terms, proper nouns and regular expressions in the headline and summary; tag_vote maps labels the document already carries in another vocabulary; jev uses TypeSafe's Jev model. Every assignment records the strategy that made it.
In labels mode it sends one yes/no question per concept together, using each concept's definition as the meaning of yes. In walk mode it asks which child fits at each tree step. Responses are cached through cache.app by default, and cache can be set to null to disable caching.
Configure survos_classifier with jev keys: model (pinned, for example jev-1.13.0), threshold (minimum probability to assign a label), beam (paths kept while walking a tree), min_path_score, and min_separation (how far the best path must beat a rival). The default threshold of 0.5 assigns far too many labels.
Yes. Register a service implementing VocabularyInterface and it is tagged automatically, or build one from plain rows with ArrayVocabulary::fromRows(), using keys code, label, definition, parent, triggerTerms, properNouns, exceptions and regularExpressions.
It abstains instead of guessing. In tag_vote a tie abstains; in walk mode Jev abstains when the best path is weak or barely ahead of a different branch. Assignments made by an editor are never replaced or removed.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.