pythongosssss / ComfyUI-Custom-Scripts

Enhancements & experiments for ComfyUI, mostly focusing on UI features
MIT License
1.83k stars 141 forks source link

Suggestions for improving the Autocomplete feature with translation and word frequency sorting #290

Open EricZhou05 opened 4 months ago

EricZhou05 commented 4 months ago

Overview


The current version seems to display English and Chinese labels but lacks frequency tags. Alternatively, it might display only English and frequency without Chinese labels. Improvement is desired to achieve the display of Chinese labels, English labels, and frequency tags.

Current Version Demo


  1. Add Manage Custom Words 1girl,1,4000000,一个女孩

A

  1. Input一个女孩
  2. Display image

B

  1. Input1girl
  2. Display image

Desired Effect Demo (Images created using PhotoShop)


  1. Add Manage Custom Words 1girl,4000000,一个女孩

A

  1. Input一个女孩
  2. Display 未标题-1

B

  1. Input1girl
  2. Display 未标题-11


以下是中文:

概述


当前版本好像显示英文和中文标签,但是缺少词频标签。或者只显示英文和词频,没有中文标签。希望可以改进以实现中文标签、英文标签、词频标签的显示。

当前版本效果演示


  1. 添加Manage Custom Words 1girl,1,4000000,一个女孩

A

  1. 输入一个女孩
  2. 显示 image

B

  1. 输入1girl
  2. 显示 image

希望的效果演示(以下图片使用PhotoShop制作)


  1. 添加Manage Custom Words 1girl,4000000,一个女孩

A

  1. 输入一个女孩
  2. 显示 未标题-1

B

  1. 输入1girl
  2. 显示 未标题-11
EricZhou05 commented 4 months ago

I’m very sorry that I couldn’t find the help documentation on how to set up Manage Custom Words. If you have a way to achieve the effect I need, please help me. I offer my sincerest thanks!