update comment

This commit is contained in:
Gokul Mohanarangan
2023-09-25 09:43:02 +05:30
parent d7ed93ae3e
commit 117acfacae

View File

@@ -229,10 +229,10 @@ class LLM:
""" """
List of manual trimming to the title. List of manual trimming to the title.
Longer titles currently run into prefix of phrases that don't really Longer titles are prone to run into A prefix of phrases that don't
add any descriptive information and in some cases, this behaviour really add any descriptive information and in some cases, this
can be repeated for several consecutive topics. We want to handle behaviour can be repeated for several consecutive topics. Trim the
these cases. titles to maintain quality of titles.
""" """
phrases_to_remove = ["Discussing", "Discussion on", "Discussion about"] phrases_to_remove = ["Discussing", "Discussion on", "Discussion about"]
try: try: