<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Grafana Labs' dictionary on Grafana Labs</title><link>https://grafana.com/docs/writers-toolkit/review/lint-prose/dictionary/</link><description>Recent content in Grafana Labs' dictionary on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 06 Jun 2024 12:17:39 +0100</lastBuildDate><atom:link href="/docs/writers-toolkit/review/lint-prose/dictionary/index.xml" rel="self" type="application/rss+xml"/><item><title>Add words to the Grafana Labs dictionary</title><link>https://grafana.com/docs/writers-toolkit/review/lint-prose/dictionary/add-words/</link><pubDate>Tue, 11 Jun 2024 07:36:23 +0100</pubDate><guid>https://grafana.com/docs/writers-toolkit/review/lint-prose/dictionary/add-words/</guid><content><![CDATA[&lt;h1 id=&#34;add-words-to-the-grafana-labs-dictionary&#34;&gt;Add words to the Grafana Labs dictionary&lt;/h1&gt;
&lt;p&gt;The Grafana Labs documentation team maintains a dictionary used for spell checking.
The same dictionary is used to generate some Vale rules from the metadata in the word definition.&lt;/p&gt;
&lt;p&gt;The template file uses the &lt;a href=&#34;https://jsonnet.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Jsonnet&lt;/a&gt; programming language but you don&amp;rsquo;t need to know Jsonnet to add a new word.
Unlike YAML, Jsonnet isn&amp;rsquo;t sensitive to whitespace.&lt;/p&gt;
&lt;p&gt;This topic explains how to perform the following tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#add-a-general-word-noun-verb-or-adjective&#34;&gt;Add a general word (noun, verb, or adjective)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#add-a-product-name&#34;&gt;Add a product name&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#add-an-abbreviation&#34;&gt;Add an abbreviation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more complicated words, if you&amp;rsquo;re comfortable with writing Jsonnet, refer to &lt;a href=&#34;/docs/writers-toolkit/review/lint-prose/dictionary/#word-metadata&#34;&gt;word metadata reference&lt;/a&gt;.
If you&amp;rsquo;re not comfortable writing Jsonnet, &lt;a href=&#34;https://github.com/grafana/writers-toolkit/issues/new?title=Grafana.Spelling%20%3A%20%3CWORD%3E&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;create an issue&lt;/a&gt;, and a maintainer can add it for you.&lt;/p&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Clone the &lt;a href=&#34;https://github.com/grafana/writers-toolkit&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Writers&amp;rsquo; Toolkit repository&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For more information, refer to &lt;a href=&#34;/docs/writers-toolkit/write/tooling-and-workflows/#create-a-local-repository&#34;&gt;Create a local repository&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a branch for your change.&lt;/p&gt;
&lt;p&gt;For more information, refer to &lt;a href=&#34;/docs/writers-toolkit/write/tooling-and-workflows/#create-a-branch-from-the-default-remote-branch&#34;&gt;Create a branch from the default remote branch&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;add-a-general-word-noun-verb-or-adjective&#34;&gt;Add a general word (noun, verb, or adjective)&lt;/h2&gt;
&lt;p&gt;A noun is a word that represents a concrete or abstract thing.
A verb generally describes an action.
Adjectives describe nouns.&lt;/p&gt;
&lt;h3 id=&#34;steps&#34;&gt;Steps&lt;/h3&gt;
&lt;p&gt;To add a general word:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the &lt;code&gt;vale/dictionary/&amp;lt;LETTER&amp;gt;.jsonnet&lt;/code&gt; template file in your editor where &lt;em&gt;&lt;code&gt;LETTER&lt;/code&gt;&lt;/em&gt; is the first letter of the word you want to add.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add a line for your word definition.&lt;/p&gt;
&lt;p&gt;Your line goes in the array, between the other entries.
Entries look like the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;lt;STEM&amp;gt;, &amp;lt;AFFIXES&amp;gt;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The entries are ordered alphabetically.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Fill out the required fields &lt;em&gt;&lt;code&gt;&amp;lt;STEM&amp;gt;&lt;/code&gt;&lt;/em&gt;, &lt;em&gt;&lt;code&gt;&amp;lt;AFFIXES&amp;gt;&lt;/code&gt;&lt;/em&gt;, and &lt;em&gt;&lt;code&gt;&amp;lt;PART OF SPEECH&amp;gt;&lt;/code&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;STEM&amp;gt;&lt;/code&gt;&lt;/em&gt; with the word stem.&lt;/p&gt;
&lt;p&gt;This is the word without any prefixes or suffixes.
For the verb &lt;em&gt;downsampling&lt;/em&gt;, the stem is &lt;em&gt;downsample&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;You must put the word stem between single quotes (&lt;code&gt;&#39;&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;downsample&amp;#39;, &amp;lt;AFFIXES&amp;gt;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;AFFIXES&amp;gt;&lt;/code&gt;&lt;/em&gt; with the concatenation of the Hunspell affixes.&lt;/p&gt;
&lt;p&gt;To learn which affixes you can add, refer to the &lt;a href=&#34;/docs/writers-toolkit/review/lint-prose/dictionary/#hunspell-affixes&#34;&gt;Hunspell affixes table&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You must put the affixes between single quotes (&lt;code&gt;&#39;&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;To add affixes for the past tense and gerund forms, your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;downsample&amp;#39;, &amp;#39;DG&amp;#39;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;PART OF SPEECH&amp;gt;&lt;/code&gt;&lt;/em&gt; with the part of speech.&lt;/p&gt;
&lt;p&gt;For verbs, this is &lt;code&gt;&#39;verb&#39;&lt;/code&gt;.
For nouns, this is &lt;code&gt;&#39;noun&#39;&lt;/code&gt;.
For adjectives, this is &lt;code&gt;&#39;adjective&#39;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Your completed line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;downsample&amp;#39;, &amp;#39;DG&amp;#39;, &amp;#39;verb&amp;#39;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the word isn&amp;rsquo;t well known, extend the definition to include a description: &lt;code&gt;description: &amp;lt;DESCRIPTION&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The description should define the word.&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;downsample&amp;#39;, &amp;#39;DG&amp;#39;, &amp;#39;verb&amp;#39;) { description: &amp;#39;To reduce the sampling rate of a signal.&amp;#39; },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-a-product-name&#34;&gt;Add a product name&lt;/h2&gt;
&lt;p&gt;A product can be a Grafana Labs&amp;rsquo; product, another company&amp;rsquo;s product, or the name of a project.&lt;/p&gt;
&lt;h3 id=&#34;steps-1&#34;&gt;Steps&lt;/h3&gt;
&lt;p&gt;To add a product:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the &lt;code&gt;vale/dictionary/&amp;lt;LETTER&amp;gt;.jsonnet&lt;/code&gt; template file in your editor where &lt;em&gt;&lt;code&gt;LETTER&lt;/code&gt;&lt;/em&gt; is the first letter of the word you want to add.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add a line for your word definition.&lt;/p&gt;
&lt;p&gt;Your line goes in the array, between the other entries.
Entries look like the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;lt;STEM&amp;gt;, &amp;lt;AFFIXES&amp;gt;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The entries are ordered alphabetically.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Fill out the required fields &lt;em&gt;&lt;code&gt;&amp;lt;STEM&amp;gt;&lt;/code&gt;&lt;/em&gt;, &lt;em&gt;&lt;code&gt;&amp;lt;AFFIXES&amp;gt;&lt;/code&gt;&lt;/em&gt;, and &lt;em&gt;&lt;code&gt;&amp;lt;PART OF SPEECH&amp;gt;&lt;/code&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;STEM&amp;gt;&lt;/code&gt;&lt;/em&gt; with the word stem.&lt;/p&gt;
&lt;p&gt;For products, this is the product name.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;CloudWatch&amp;#39;, &amp;lt;AFFIXES&amp;gt;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;AFFIXES&amp;gt;&lt;/code&gt;&lt;/em&gt; with the concatenation of the Hunspell affixes.&lt;/p&gt;
&lt;p&gt;Products generally have no affixes.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;CloudWatch&amp;#39;, &amp;#39;&amp;#39;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;PART OF SPEECH&amp;gt;&lt;/code&gt;&lt;/em&gt; with the part of speech.&lt;/p&gt;
&lt;p&gt;For products, this is &lt;code&gt;&#39;noun&#39;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;CloudWatch&amp;#39;, &amp;#39;&amp;#39;, &amp;#39;noun&amp;#39;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extend the definition to indicate it&amp;rsquo;s a product.&lt;/p&gt;
&lt;p&gt;Add the object &lt;code&gt;{ product: true }&lt;/code&gt; between the right bracket (&lt;code&gt;)&lt;/code&gt;), and the end of line comma (&lt;code&gt;,&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;CloudWatch&amp;#39;, &amp;#39;&amp;#39;, &amp;#39;noun&amp;#39;) { product: true },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the product is an Amazon product, extend the definition to include this.&lt;/p&gt;
&lt;p&gt;Update the object to have an additional field, &lt;code&gt;Amazon: true&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;CloudWatch&amp;#39;, &amp;#39;&amp;#39;, &amp;#39;noun&amp;#39;) { Amazon: true, product: true },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extend the definition to include a description: &lt;code&gt;description: &amp;lt;DESCRIPTION&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The description should at least include a link to the product&amp;rsquo;s primary documentation.&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;CloudWatch&amp;#39;, &amp;#39;&amp;#39;, &amp;#39;noun&amp;#39;) { Amazon: true, description: &amp;#39;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html&amp;#39;, product: true },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-an-abbreviation&#34;&gt;Add an abbreviation&lt;/h2&gt;
&lt;p&gt;An abbreviation is a shortened form of a phrase.
If the abbreviation is commonly known, like HTTP, you don&amp;rsquo;t need to explain it in your writing.
You can say that the abbreviation is commonly known in your definition.&lt;/p&gt;
&lt;h3 id=&#34;steps-2&#34;&gt;Steps&lt;/h3&gt;
&lt;p&gt;To add an abbreviation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the &lt;code&gt;vale/dictionary/&amp;lt;LETTER&amp;gt;.jsonnet&lt;/code&gt; template file in your editor where &lt;em&gt;&lt;code&gt;LETTER&lt;/code&gt;&lt;/em&gt; is the first letter of the word you want to add.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add a line for your word definition.&lt;/p&gt;
&lt;p&gt;Your line goes in the array, between the other entries.
Entries look like the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;lt;STEM&amp;gt;, &amp;lt;AFFIXES&amp;gt;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The entries are ordered alphabetically.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Fill out the required fields &lt;em&gt;&lt;code&gt;&amp;lt;STEM&amp;gt;&lt;/code&gt;&lt;/em&gt;, &lt;em&gt;&lt;code&gt;&amp;lt;AFFIXES&amp;gt;&lt;/code&gt;&lt;/em&gt;, and &lt;em&gt;&lt;code&gt;&amp;lt;PART OF SPEECH&amp;gt;&lt;/code&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;STEM&amp;gt;&lt;/code&gt;&lt;/em&gt; with the word stem.&lt;/p&gt;
&lt;p&gt;For abbreviation, this is the abbreviation letters.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;SUT&amp;#39;, &amp;lt;AFFIXES&amp;gt;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;AFFIXES&amp;gt;&lt;/code&gt;&lt;/em&gt; with the concatenation of the Hunspell affixes.&lt;/p&gt;
&lt;p&gt;To learn which affixes you can add, refer to the &lt;a href=&#34;/docs/writers-toolkit/review/lint-prose/dictionary/#hunspell-affixes&#34;&gt;Hunspell affixes table&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You must put the affixes between single quotes (&lt;code&gt;&#39;&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;Some abbreviations have a plural suffix.
To add the plural suffix, include &lt;code&gt;s&lt;/code&gt;.
All affixes are case sensitive.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;SUT&amp;#39;, &amp;#39;s&amp;#39;, &amp;lt;PART OF SPEECH&amp;gt;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace &lt;em&gt;&lt;code&gt;&amp;lt;PART OF SPEECH&amp;gt;&lt;/code&gt;&lt;/em&gt; with the part of speech.&lt;/p&gt;
&lt;p&gt;For abbreviations, this is &lt;code&gt;&#39;noun&#39;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;SUT&amp;#39;, &amp;#39;s&amp;#39;, &amp;#39;noun&amp;#39;),&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extend the definition to indicate it&amp;rsquo;s an abbreviation.&lt;/p&gt;
&lt;p&gt;Add the object &lt;code&gt;{ abbreviation: true }&lt;/code&gt; between the right bracket (&lt;code&gt;)&lt;/code&gt;), and the end of line comma (&lt;code&gt;,&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;SUT&amp;#39;, &amp;#39;s&amp;#39;, &amp;#39;noun&amp;#39;) { abbreviation: true },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extend the definition to include a description: &lt;code&gt;description: &amp;lt;DESCRIPTION&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The description should at least include the expanded abbreviation.&lt;/p&gt;
&lt;p&gt;Your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;SUT&amp;#39;, &amp;#39;s&amp;#39;, &amp;#39;noun&amp;#39;) { abbreviation: true, description: &amp;#39;System Under Test&amp;#39; },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you don&amp;rsquo;t need to expand the abbreviation for the general reader, extend the definition to include this.&lt;/p&gt;
&lt;p&gt;Update the object to have an additional field, &lt;code&gt;established_abbreviation: true&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;For the well-known abbreviation HTTP, your line should look similar to the following:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;jsonnet&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-jsonnet&#34;&gt;word.new(&amp;#39;HTTP&amp;#39;, &amp;#39;&amp;#39;, &amp;#39;noun&amp;#39;) { abbreviation: true, description: &amp;#39;Hypertext Transfer Protocol&amp;#39;, established_abbreviation: true },&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="add-words-to-the-grafana-labs-dictionary">Add words to the Grafana Labs dictionary&lt;/h1>
&lt;p>The Grafana Labs documentation team maintains a dictionary used for spell checking.
The same dictionary is used to generate some Vale rules from the metadata in the word definition.&lt;/p></description></item></channel></rss>