1. A method comprising: receiving, at an electronic device, a list of a plurality of target keywords, the list received via a communication network; receiving, at the electronic device, user input that selects a particular target keyword from the list of the plurality of target keywords; and in response to the user input: receiving a keyword data file at the electronic device via the communication network, the keyword data file including a keyword model for the particular target keyword and including compatibility information; determining whether the keyword data file is compatible with a keyword detection unit of the electronic device based on the compatibility information; receiving a second version of the keyword model based on a determination that the keyword data file is not compatible with the keyword detection unit; and assigning, at the electronic device, the particular target keyword to a function of the electronic device such that the function is activated in response to detecting, based on the keyword model, that an input sound received at the electronic device includes the particular target keyword.