OptionaldomainsDir: stringOptional override for the domain JSON directory path.
A new vocabulary service instance.
Returns a fresh service with no domains loaded. Call VocabularyService.loadDomain before searching.
The domainsDir parameter is optional — by default the service locates
the bundled JSON files relative to this source file. Override it in tests
to point at mock data.
Create a new VocabularyService instance.