Hello Pratima
You would have to clone the widget and change it yourself, including all the logic around the limits and slider, to use "strings" instead of numbers.
And I think this does not make any sense.
You should think of using a different approach like ComboBox, Radio Buttons, etc.
Cheers