Localized Resource Compression Using Shared Translation Dictionaries
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current data compression techniques are not well-suited for compressing short text strings, such as resource strings in software applications, and do not effectively handle the specific characteristics of resource strings in different languages, leading to inefficient storage and deployment of localized software applications.
Innovation Solution
A translational similarity compression technique that uses resources in a first language, such as English, as a base for compressing and decompressing resources in other languages, utilizing a shared dictionary to encode and decode localized resource strings, significantly reducing memory space requirements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If conventional compression techniques are used on localized software resources, then some compression is achieved, but the compression ratio is low and file size reduction is limited
Solution Approach 1:
The patent creates a base dictionary from the first language resource that captures common words and phrases. This dictionary is then copied and adapted for use with localized resources in second languages, allowing the system to leverage the structural similarities between translated resources rather than compressing each language independently. This copying approach enables much higher compression ratios by sharing the common vocabulary structure across multiple languages.
2Adaptability or versatility
If language-specific compression is used for each localized resource, then language characteristics are preserved, but storage space efficiency is reduced due to redundancy
Solution Approach 1:
The patent merges the compression approach across multiple languages by creating a single base dictionary from the first language resource that serves all localized resources. Instead of maintaining separate compression schemes for each language, the system combines them under a unified dictionary structure that captures common words and phrases across all languages, significantly reducing storage space while maintaining language-specific characteristics through the localized resource mappings.
3Speed
If full localized resources are stored without compression, then retrieval speed is fast, but deployment bandwidth and storage requirements are excessive
Solution Approach 1:
The patent performs preliminary action by pre-processing the first language resource to create an optimized base dictionary that captures the most common words and phrases. This pre-computed dictionary is then reused for all localized resources, eliminating the need to store full uncompressed localized resources while enabling fast retrieval through efficient dictionary-based compression. The preliminary creation of this shared dictionary structure allows both high compression ratios and maintained retrieval performance.
Data Source
AI summary
A method of and system of for compressing and decompressing a localized software resource is disclosed. The method may include receiving a software resource, the software resource being in a first language, receiving a localized software resource for compression, where the software resource in the first language is a counterpart of the localized software resource in the second language. Upon receiving the software resources creating a first local dictionary for the localized software resource based at least in part on one or more first language words in the software resource and on data from a global dictionary, and compressing the localized software resource based on the local dictionary.


