Cornell University
Library
Cornell UniversityLibrary

eCommons

Help
Log In(current)
  1. Home
  2. Cornell Computing and Information Science
  3. Computer Science
  4. Computer Science Technical Reports
  5. Common Phrases and Minimum-Space Text Storage

Common Phrases and Minimum-Space Text Storage

File(s)
70-74.ps (238.31 KB)
70-74.pdf (1.07 MB)
Permanent Link(s)
https://hdl.handle.net/1813/5933
Collections
Computer Science Technical Reports
Author
Wagner, Robert A.
Abstract

A method for saving storage space for text strings, such as compiler diagnostic messages, is described. The method relies on hand-selection of a set of text-strings which are common to one or more messages. These phrases are then stored only once. The storage technique gives rise to a mathematical optimization problem: determine how each message should use the available phrases to minimize its storage requirement. This problem is non-trivial when phrases which overlap exist. However, we present a dynamic programming algorithm which solves the problem in time which grows linearly with the number of characters in the text. Keywords and Phrases: diagnosic messages, error messages, common phrases, minimum space, text storage, optimization, dynamic programming.

Date Issued
1970-09
Publisher
Cornell University
Keywords
computer science
•
technical report
Previously Published as
http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR70-74
Type
technical report

Site Statistics | Help

About eCommons | Policies | Terms of use | Contact Us

copyright © 2002-2026 Cornell University Library | Privacy | Web Accessibility Assistance