@cspell/dict-nb-no

中文文档
3.0.0发布于 2026/11/05GPL-3.0-or-later零依赖构建来源已验证近 30 天下载 5.1万

Norwegian Bokmål dictionary for cspell.

原始使用文档
文档目录12 节
  1. Requirements
  2. Local Installation
  3. Configuration
  4. Local Installation using CDN
  5. CDN Configuration
  6. Dictionary Information
  7. Language Settings
  8. Contributing
  9. Dictionary Development
  10. Sources
  11. Attribution
  12. License

CSpell Norwegian Bokmål Dictionary

Norwegian Bokmål dictionary.

This is a pre-built dictionary for use with CSpell. It spell checks text written in Bokmål, one of the two written standards of Norwegian. For Norwegian Nynorsk, use @cspell/dict-nn-no.

The words come from two sources:

  1. The Hunspell dictionary of the spell-norwegian project, version 2.2 from 2016. It has compounds and genitives.
  2. LibreOffice's Norwegian dictionaries, version 3.0 from 2026. LibreOffice's list adds newer words, from Ordbanken and the 2018–2024 revision of Bokmålsordboka.

Compound words that neither source lists are flagged.

Requirements

ToolVersion
cspell>=8
Code Spell Checker - Visual Studio Code>=4

Local Installation

npm install -D @cspell/dict-nb-no

Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.import": ["@cspell/dict-nb-no/cspell-ext.json"],
  "cSpell.language": "nb, nb-no",
}
CSpell Settings cspell.json

cspell.json

{
  "import": ["@cspell/dict-nb-no/cspell-ext.json"],
  "language": "nb, nb-no",
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

import:
  - '@cspell/dict-nb-no/cspell-ext.json'
language: nb, nb-no

Local Installation using CDN

CDN Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-nb-no@3/cspell-ext.json"],
  "cSpell.language": "nb, nb-no",
}
CSpell Settings cspell.json

cspell.json

{
  "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-nb-no@3/cspell-ext.json"],
  "language": "nb, nb-no",
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

import:
  - https://cdn.jsdelivr.net/npm/@cspell/dict-nb-no@3/cspell-ext.json
language: nb, nb-no

Dictionary Information

NameEnabledDescription
nb-noNorwegian Bokmål dictionary.
nb-no-altNorwegian Bokmål dictionary that also accepts words written without æ, ø, and å.

Language Settings

NameLocaleFile Type
nb-nonb, nb-no*

Contributing

Please help correct any mistakes in the dictionaries.

See: Contributing

Special thanks to all of our amazing contributors!

Dictionary Development

See: How to Create a New Dictionary

Sources

SourceFromLicenseUpdated
hunspellhttps://github.com/wooorm/dictionaries/tree/main/dictionaries/nblicenseby hand
LibreOfficehttps://github.com/LibreOffice/dictionaries/tree/master/noREADMEby hand

Attribution

The word list from LibreOffice, merged by Lars Bungum, includes:

  • Ordbanken, from Nasjonalbiblioteket / Språkbanken, under CC BY 4.0.
  • Nyordsliste etter revisjonen av Bokmålsordboka (2018–2024), by Standardordbøkene, Revisjonsprosjektet (2018–2024), published by the University of Bergen (Department of Linguistic, Literary and Aesthetic Studies) and Språkrådet, http://hdl.handle.net/11509/152, under CLARIN PUB +BY. The revision was funded by Kultur- og likestillingsdepartementet.
  • Årets ord from Språkrådet.

CLARIN PUB +BY is one of the licenses used in CLARIN, the European research infrastructure for language resources. It lets anyone use, copy, and distribute the resource, also modified or as part of a larger work, as long as the authors are credited.

The affix files and the older word list come from the spell-norwegian project, under the GNU GPL, version 2 or later.

License

GPL-3.0-or-later

The sources keep their own licenses, listed in Sources.



Brought to you by Street Side Software Logo Street Side Software

版本与发布记录

@cspell/dict-nb-no 共发布 12 个版本,首次发布于 2021/10/07;过去 12 个月发布了 3 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
3.0.0latest2026/11/055 天前
2.0.82026/10/1328 天前
2.0.72026/10/051 个月前
2.0.62025/07/191.3 年前
2.0.52025/07/101.3 年前
2.0.42024/12/301.9 年前

关于 @cspell/dict-nb-no 的常见问题

@cspell/dict-nb-no 是什么?

Norwegian Bokmål dictionary for cspell.

如何安装 @cspell/dict-nb-no?

在项目目录运行 npm install @cspell/dict-nb-no,或使用 pnpm add / yarn add / bun add。

@cspell/dict-nb-no 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/cspell__dict-nb-no 是否存在。

@cspell/dict-nb-no 可以商用吗?

@cspell/dict-nb-no 使用 GPL-3.0-or-later 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以 GPL-3.0 兼容许可开源,并附带专利与反锁定条款。仅内部使用不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@cspell/dict-nb-no 的下载量有多少?

根据 npm 官方下载统计,@cspell/dict-nb-no 在 2026/10/11 – 2026/11/09 这 30 天内被下载 51,417 次,日均约 1,714 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cspell/dict-nb-no 还在维护吗?

最新版本 3.0.0 发布于 2026/11/05(5 天前);至今共发布 12 个版本,其中过去 12 个月发布了 3 个;首次发布于 2021/10/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。