code: func (textRank *TextRank) Populate(
  	text string,
  	lang convert.Language,
  	rule parse.Rule,
  ) {
  	parsedText := parse.TokenizeText(text, rule)
  
  	for _, sentence := range parsedText.GetSentences() {
  		convert.TextToRank(sentence, lang, textRank.rank)
  	}
  }
docs: // Populate method adds a raw text to the text-ranking graph. It parses,
  // tokenize the raw text and prepares it to weighting and scoring. It's possible
  // to append a new raw text to an existing one even if the previously text is
  // already ranked. This is 5th step to use TextRank.
  //
  // text string must be a plain text from TXT or PDF or any document, it can
  // contain new lines, break lines or any unnecessary text parts, but it should
  // not contain HTML tags or codes.
  //
  // lang Language object can be loaded from NewDefaultLanguage function.
  //
  // rule Rule object can be loaded from NewDefaultRule function.