The present invention discloses a recognition resource compilation method, an electronic device and a storage medium, wherein a recognition resource compilation method is used for a user terminal, comprising: when a new recognition resource needs to be compiled, using a new resource partition to compile the new recognition resource, and placing the successfully compiled resource in the new resource partition; in response to the end of the compilation, judging whether the user terminal is in a conversation, and determining the subsequent
processing of the successfully compiled resource according to the judgment result. By using a new resource partition to compile a new recognition resource, judging whether the user terminal is in a conversation, and determining the subsequent
processing of the successfully compiled resource according to the judgment result, it is possible to achieve the normal use of the offline voice function of the new recognition resource during the compilation process, and ensure that all corpora other than the new corpora can be used normally.