Datasets:
Tasks:
Token Classification
Languages:
English
Size:
10K<n<100K
Tags:
Not-For-All-Audiences
License:
remove stupid llm emoticons
Browse files- normalize_tags.py +2 -2
normalize_tags.py
CHANGED
@@ -224,9 +224,9 @@ def print_topk(counter, tagset_normalizer, n=10, categories=None, implied=False)
|
|
224 |
implied = ""
|
225 |
if categories:
|
226 |
category_names = ", ".join(categories)
|
227 |
-
print(f"\
|
228 |
else:
|
229 |
-
print(f"\
|
230 |
|
231 |
filtered_counter = counter
|
232 |
if categories:
|
|
|
224 |
implied = ""
|
225 |
if categories:
|
226 |
category_names = ", ".join(categories)
|
227 |
+
print(f"\nTop {n} most common {implied}tags in categories: {category_names}")
|
228 |
else:
|
229 |
+
print(f"\nTop {n} most common {implied}tags:")
|
230 |
|
231 |
filtered_counter = counter
|
232 |
if categories:
|