A control method for controlling an electromechanical medical device, the method comprising: • receiving by a control system a sequence of symbols; • translating the received sequence of symbols into a batch of commands parsable by an electronic controller (111a, 112a, 113a) of the electromechanical medical device; • sending the batch of commands from the control system to the electromechanical medical device; and • causing by the electronic controller the electromechanical medical device to execute the batch of commands on the electromechanical medical device, wherein the translating of the received sequence of symbols is executed using dictionaries, wherein each of the dictionaries has a respective batch of commands parsable by the electronic controller of the electromechanical medical device and respective first sets of symbols corresponding to the respective batch of commands parsable by the electronic controller of the electromechanical medical device, wherein the translating of the received sequence of symbols into the batch of commands parsable by the electronic controller of the electromechanical medical device comprises the following steps: • identifying a set of dictionaries, wherein each first set of symbols of any dictionary of the set of dictionaries comprises a respective symbol being comprised in the received sequence of symbols; • identifying for each of the dictionaries of the set of dictionaries a respective fragment of the received sequence of symbols comprising one symbol of each of the first sets of symbols of the each of the dictionaries, starting with the symbol comprised in one of the first sets of symbols of the each of the dictionaries, and ending with the symbol comprised in another one of the first sets of symbols of the each of the dictionaries; • selecting the identified fragment of the received sequence of symbols having the least number of symbols among the identified fragments of the received sequence of symbols; and • selecting the dictionary corresponding to the selected identified fragment of the received sequence of symbols; wherein the batch of commands of the selected dictionary is the one generated in the translating of the received sequence of symbols into the batch of commands parsable by the electronic controller of the electromechanical medical device. • receiving by a control system a sequence of symbols; • translating the received sequence of symbols into a batch of commands parsable by an electronic controller (111a, 112a, 113a) of the electromechanical medical device; • sending the batch of commands from the control system to the electromechanical medical device; and • causing by the electronic controller the electromechanical medical device to execute the batch of commands on the electromechanical medical device, wherein the translating of the received sequence of symbols is executed using dictionaries, wherein each of the dictionaries has a respective batch of commands parsable by the electronic controller of the electromechanical medical device and respective first sets of symbols corresponding to the respective batch of commands parsable by the electronic controller of the electromechanical medical device, wherein the translating of the received sequence of symbols into the batch of commands parsable by the electronic controller of the electromechanical medical device comprises the following steps: • identifying a set of dictionaries, wherein each first set of symbols of any dictionary of the set of dictionaries comprises a respective symbol being comprised in the received sequence of symbols; • identifying for each of the dictionaries of the set of dictionaries a respective fragment of the received sequence of symbols comprising one symbol of each of the first sets of symbols of the each of the dictionaries, starting with the symbol comprised in one of the first sets of symbols of the each of the dictionaries, and ending with the symbol comprised in another one of the first sets of symbols of the each of the dictionaries; • selecting the identified fragment of the received sequence of symbols having the least number of symbols among the identified fragments of the received sequence of symbols; and • selecting the dictionary corresponding to the selected identified fragment of the received sequence of symbols; wherein the batch of commands of the selected dictionary is the one generated in the translating of the received sequence of symbols into the batch of commands parsable by the electronic controller of the electromechanical medical device.