You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some thing like the following?
some nlp tasks do not have labels but only want to detect the keyword and their importance.
if I passed label='' there is still a span, and have some extra spaces.
`
color_style = {}
if color:
color_style['color'] = color
if not background:
label_sum = sum(ord(c) for c in label)
background_color = PALETTE[label_sum % len(PALETTE)]
background_opacity = OPACITIES[label_sum % len(OPACITIES)]
background = background_color + background_opacity
currently I need modify the original code to achieve this function.
so I hope you guys could add this features to support non label keyword notations. and if there could be a color gradient by just passing point end color and gradient coefficient will be more nice.
another issue.
I don't think the *args support too many items. so I would recommend to passes a list instread of *args.
*args usually used when the args are different but have a limited size. in this case it is not, if we wan't passed a large context it will fail.
when the text is so much the speed will be really slow.
hope you guys could take a look at those issues.
Sincerely.
The text was updated successfully, but these errors were encountered:
some thing like the following?
some nlp tasks do not have labels but only want to detect the keyword and their importance.
if I passed label='' there is still a span, and have some extra spaces.
`
color_style = {}
if color:
color_style['color'] = color
if not background:
label_sum = sum(ord(c) for c in label)
background_color = PALETTE[label_sum % len(PALETTE)]
background_opacity = OPACITIES[label_sum % len(OPACITIES)]
background = background_color + background_opacity
currently I need modify the original code to achieve this function.
so I hope you guys could add this features to support non label keyword notations. and if there could be a color gradient by just passing point end color and gradient coefficient will be more nice.
another issue.
I don't think the *args support too many items. so I would recommend to passes a list instread of *args.
*args usually used when the args are different but have a limited size. in this case it is not, if we wan't passed a large context it will fail.
when the text is so much the speed will be really slow.
hope you guys could take a look at those issues.
Sincerely.
The text was updated successfully, but these errors were encountered: