A method comprising: receiving a voice search query comprising one or more word sequences including a first word sequence, wherein the voice search query is associated with a query context; receiving a base language model for speech recognition, the base language model including a first plurality of word sequences each being associated with a corresponding probability value, the first plurality of word sequences including the first word sequence having a base probability value; the method being characterised by : determining that the query context of the voice search query satisfies one or more criteria associated with a customized language model, the customized language model including a second plurality of word sequences each being associated with a corresponding adjusted probability value, the second plurality of word sequences including the first word sequence having a first adjusted probability value, the first adjusted probability value being the base probability value adjusted according to the query context; and based on the determining, converting the voice search query to a text search query based on one or more probabilities including one or more adjusted probability values for word sequences of the customized language model including the first word sequence having the first adjusted probability value. receiving a voice search query comprising one or more word sequences including a first word sequence, wherein the voice search query is associated with a query context; receiving a base language model for speech recognition, the base language model including a first plurality of word sequences each being associated with a corresponding probability value, the first plurality of word sequences including the first word sequence having a base probability value; the method being characterised by : determining that the query context of the voice search query satisfies one or more criteria associated with a customized language model, the customized language model including a second plurality of word sequences each being associated with a corresponding adjusted probability value, the second plurality of word sequences including the first word sequence having a first adjusted probability value, the first adjusted probability value being the base probability value adjusted according to the query context; and based on the determining, converting the voice search query to a text search query based on one or more probabilities including one or more adjusted probability values for word sequences of the customized language model including the first word sequence having the first adjusted probability value. determining that the query context of the voice search query satisfies one or more criteria associated with a customized language model, the customized language model including a second plurality of word sequences each being associated with a corresponding adjusted probability value, the second plurality of word sequences including the first word sequence having a first adjusted probability value, the first adjusted probability value being the base probability value adjusted according to the query context; and based on the determining, converting the voice search query to a text search query based on one or more probabilities including one or more adjusted probability values for word sequences of the customized language model including the first word sequence having the first adjusted probability value. <EOS>