mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-15 06:09:01 +03:00
8 lines
190 B
TypeScript
8 lines
190 B
TypeScript
|
import models from './languages.json'
|
||
|
|
||
|
const recordLanguages = Object.fromEntries(
|
||
|
models.languages.map((language, index) => [language.code, language])
|
||
|
)
|
||
|
|
||
|
export default recordLanguages
|