A system for providing a linguistic resource for input recognition of multiple input types to computing devices, each computing device comprising a processor, a memory and at least one non-transitory computer readable medium for recognizing input under control of the processor, the at least one non-transitory computer readable medium configured to: allow setting, in a memory of a computing device, of a plurality of parameters of a linguistic resource which provides a language model of one or more languages; and cause recognition of input, to an input interface of the computing device, of one or more types of a plurality of different types of input in said one or more languages using said linguistic resource, wherein the different types of input include handwriting input and typing input, and wherein the performance characteristics include the word recognition rate of the handwriting input, the word prediction rate of the typing input and the keystroke saving rate of the typing input; characterized in that the plurality of parameters are set in order to optimize performance characteristics of said recognition of each of the one or more types of recognized input while providing the linguistic resource with a pre-determined size, wherein the language model is a class-based n-gram language model utilizing a lexicon built using one or more corpora related to said one or more languages; and the plurality of parameters include one or more of a first parameter related to the size of the lexicon, a second parameter related to the corpora content used to build the lexicon and the n-gram model, a third parameter related to the number of n-gram sequences, a fourth parameter related to the order of the n-gram model, and a fifth parameter related to the number of classes in the class-based model. allow setting, in a memory of a computing device, of a plurality of parameters of a linguistic resource which provides a language model of one or more languages; and cause recognition of input, to an input interface of the computing device, of one or more types of a plurality of different types of input in said one or more languages using said linguistic resource, wherein the different types of input include handwriting input and typing input, and wherein the performance characteristics include the word recognition rate of the handwriting input, the word prediction rate of the typing input and the keystroke saving rate of the typing input; characterized in that the plurality of parameters are set in order to optimize performance characteristics of said recognition of each of the one or more types of recognized input while providing the linguistic resource with a pre-determined size, wherein the language model is a class-based n-gram language model utilizing a lexicon built using one or more corpora related to said one or more languages; and the plurality of parameters include one or more of a first parameter related to the size of the lexicon, a second parameter related to the corpora content used to build the lexicon and the n-gram model, a third parameter related to the number of n-gram sequences, a fourth parameter related to the order of the n-gram model, and a fifth parameter related to the number of classes in the class-based model.