original_docstring: 
          Populates the term frequency of each word in the document
          :param doc_id:
          :type doc_id: int
  
          :param word:
          :type word: str
  
          :return: Nothing
          :rtype: None
          
docstring: Populates the term frequency of each word in the document
docstring_tokens: Populates the term frequency of each word in the document
code: def _add_tf(self, doc_id, word):
          """
          Populates the term frequency of each word in the document
          :param doc_id:
          :type doc_id: int
  
          :param word:
          :type word: str
  
          :return: Nothing
          :rtype: None
          """
          if doc_id in self.TF:
              # If doc id is already present, checks if the word is already present
              if word in self.TF[doc_id]:
                  self.TF[doc_id][word] += 1
              else:
                  self.TF[doc_id][word] = 1
          else:
              self.TF[doc_id] = {
                  word: 1
              }
code_tokens: def _add_tf ( self , doc_id , word ) : if doc_id in self . TF : if word in self . TF [ doc_id ] : self . TF [ doc_id ] [ word ] += 1 else : self . TF [ doc_id ] [ word ] = 1 else : self . TF [ doc_id ] = { word : 1 }
short_docstring: Populates the term frequency of each word in the document
short_docstring_tokens: Populates the term frequency of each word in the document
comment: """
          Populates the term frequency of each word in the document
          :param doc_id:
          :type doc_id: int
  
          :param word:
          :type word: str
  
          :return: Nothing
          :rtype: None
          """$SEP$# If doc id is already present, checks if the word is already present