mirror of https://github.com/explosion/spaCy.git
6 lines
190 B
TypeScript
6 lines
190 B
TypeScript
|
import models from './languages.json'
|
||
|
|
||
|
export const languagesSorted = models.languages
|
||
|
.filter(({ models }) => models && models.length)
|
||
|
.sort((a, b) => a.name.localeCompare(b.name))
|