class_docstr: Helper class for aggregating and building `Vocabulary` objects.
class_docstr_tok: ["Helper","class","for","aggregating","and","building","`","Vocabulary","`","objects","."]
docstr: Count a single value in the vocabulary.
docstr_tok: ["Count","a","single","value","in","the","vocabulary","."]
code: def add(self, value) -> None:
      """Count a single value in the vocabulary."""
      if self.lowercase_tokens:
          value = value.lower()
      self._counter[value] += 1
  
imports: import itertools
  from collections import Counter
  from typing import Dict, List, Optional, Tuple
  import torch
  from pytext.common.constants import SpecialTokens, Token
  from pytext.utils import cuda, precision
label_desc: Use image node_id 3 for calling the VocabBuilder obj's underlying member method code with example usage: obj.add(value) without return types