How would you recomend coding a Dictionary of sign language

How would you recomend coding a Dictionay of sign language
My initial idea is assigning a number to each word and then runing the animation based on the number selected

Also I´d use an input widget and an enter button, the enter button would run analyze the word and the animation of the
3D character on the screen

Hi! I am not enough acquaintanted with sign language, but there is at least one question about word contexts and max context length. For example can it be that it is impossible to understand a sign withoud context because of its plurality