NZ224751A - Encoding text for storage as word and phrase tokens - Google Patents

Encoding text for storage as word and phrase tokens

Info

Publication number
NZ224751A
NZ224751A NZ22475188A NZ22475188A NZ224751A NZ 224751 A NZ224751 A NZ 224751A NZ 22475188 A NZ22475188 A NZ 22475188A NZ 22475188 A NZ22475188 A NZ 22475188A NZ 224751 A NZ224751 A NZ 224751A
Authority
NZ
New Zealand
Prior art keywords
phrase
text
word
code
file
Prior art date
Application number
NZ22475188A
Inventor
John Douglas Moore
Peter George Swain
Roger Bixly Purcell
John Hilton
Original Assignee
Megaword International Pty Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Megaword International Pty Ltd filed Critical Megaword International Pty Ltd
Publication of NZ224751A publication Critical patent/NZ224751A/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction

Description

-■/ - ,v »:4Tj^ohrv:, r^i1' i", ' -V" ' ' V'ir* ''V / 7 •' • "■' ' ■"< " ' • ' <- *f'v 1 ^', c '•* w',> ' , ^ S -<r> ! v Priority D::'.c[z): .. g>yo ti- i • « /i • • :-r.5c::ic3'icn r;:e± CiO&fjj'QclJ^ p&/t j/oyri 7/jOt 22 4 7 5 1 1 j<aA. o No.: Date: NEW ZEALAND PATENTS ACT, 1953 COMPLETE SPECIFICATION "A METHOD OF PROCESSING A TEXT IN ORDER TO STORE THE TEXT IN MEMORY" <*7We, MEGAWORD INTERNATIONAL PTY LTD, a company incorporated under the laws of the State of New South Wales, Australia, of Level 6, 456 Kent Street. Sydney, 2000, Australia. -=^..
I 2 3 MAY1988; hereby declare the invention for which JK/ we pray that a patent may be granted to pa^/us, and the method by which it is to be performed, to be particularly described in and by the following statement: - - 1 2 22 ■"A METHOD OF PROCESSING A TEXT IN ORDER TO STORE THE TEXT IN MEMORY" The present invention relates to a method of processing a text in order to store the text in memory. The invention also relates to a method of processing the stored text in order to retrieve the text from memory and a data processing system comprising means for performing this method.
In the context of this specification the word "text" refers to any body or sequence of "words". Throughout this specification we use the term "word" to refer to any recognisable word (e.g. water, boat, pen, spoon, etc.)/ symbol (e.g. 3, &, ?, etc.) or special action instruction (e.g. next word starts with a capital letter, end of line, beginning of paragraph, etc.). The term "word", however, should also be understood to encompass a number of 22 3 logical alternatives, which may depend on the particular form of the text to be processed. For instance, a word may be defined as being any group of alphanumeric characters and/or instructions which exist in the text between two consecutive spaces. In the case of the text being data, such as that received from a seismic test or a radio telescope, a word may be defined as being any group of alphanumeric characters and/or instructions which exist between two consecutive occurrences of a commonly occurring alphanumeric character or instruction. Hence, prior to processing a text according to the present invention a determination needs to be made as to what will constitute a word for the purposes of processing the text.
In the past it has proved impractical to store the text of most books in the memory of a data processing system because such a text would require approximately several million bytes of binary code to represent the text and the capacity of the available memory chips could not accommodate such a large amount of information without the resulting data processing system becoming cumbersomely large. In recent years, however, the capacity of available memory chips has increased without substantial alterations to their size. In particular, with the advent of the one megabit chip the feasibility of producing a practical and portable data processing system for storing the text of a book has been enhanced.
The other factor which affects the size and practibility of a data processing system for storing 4 text is the economy and efficiency with which the text is stored in the available memory space. It is desirable to have text stored in the smallest possible memory space in order to minimize the number of memory chips required and, hence, minimize the size and power consumption of a data processing system comprising the chips.
Text is normally represented in digital code by allocating an eight bit binary character code to each alphanumeric character and instruction which could appear in the text, an example being the ASCII code. While it is usually necessary to employ such an eight bit character code for display purposes it is desirable to compress this code representation of the text for storage purposes.
In accordance with the present invention there is provided a method of processing a text comprising words represented by binary character code in order to store the text in memory, said method comprising: creating a dictionary file which relates the binary character code of each word in said text to a binary word code representative of the word itself; altering a binary character code representation of said text by replacing the binary character code representation of each word with the corresponding binary word code according to said dictionary file; creating a phrase table file which relates the binary word code of pairs of words, which are adjacent one another in said text and occur in said text at least three times, to binary phrase code representative of said pairs; adjusting said phrase table file so as to relate two binary phrase codes, or a binary phrase code and a binary word code, to a single distinct binary phrase code, said two phrase codes, or said phrase and word codes, representing a group of words which comprise a phrase and occur in said text at least three times; and altering the code representation of said text so as to replace binary word code with binary phrase code according to said phrase table file.
In accordance with the present invention there is also provided a memory medium comprising text which has been processed according to the text processing method described above.
In accordance with the present invention there is also provided a method of decompressing text processed according to the text processing method described above, comprising sequentially processing the code representation of said text and using each word and phrase code accessed therefrom to access the dictionary and phrase table files until character code is obtained therefrom, said phrase table file being recursively accessed by phrase code until word code is retrieved for accessing said dictionary file.
In accordance with the present invention there is also provided a method of accessing stored text which has been processed according to the text processing method described above, comprising: receiving a signal indicating that a predetermined word or phrase is to be searched for in 6 the text, accessing said dictionary file and phrase file, in response to said signal, to determine the corresponding binary word and/or phrase code to be searched for in said stored text so as to locate said predetermined word or phrase, searching said stored text on the basis of said corresponding binary code, and displaying, in response to said searching step, a location of said predetermined word or phrase in said text.
In accordance with the present invention there is also provided a data processing system connectable to memory comprising a text processed according to the text processing method described above, said system comprising: means for sequentially accessing the code representation of said text in said memory and using each word and phrase code accessed from said code to access the dictionary and phrase table files in said memory until character code is obtained therefrom, said means recursively accessing said phrase table file by phrase code until word code is retrieved for accessing said dictionary file; and means for displaying at least part of said text corresponding to the obtained character code, said displaying means being controlled by said accessing means.
In accordance with the present invention there is also provided a data processing system connectable to memory comprising a text processed according to the text processing method described above, said system comprising: means for receiving a signal indicating that a predetermined word or phrase is to be searched for in the text, means responsive to said receiving means for accessing said dictionary file and phrase table file to determine the corresponding binary word and/or phrase code to be searched for in said stored text in order to locate said predetermined word or phrase, and for searching said stored text on the basis of said corresponding binary code, and means responsive to said accessing means for displaying a location of said predetermined word or phrase in said text.
In accordance with the present invention there is also provided a data processing system connectable to memory which includes a text processed according to the text processing method described above, said memory having a first section which includes the code representation of said text, a second section which includes said dictionary file, a third section which includes said phrase table file, and a fourth section which includes decompressing, searching and display programs, said system comprising: and address bus and a data bus which are connectable to said memory; a register bank connected to part of said address bus and input/output ports connected to said data bus and the remainder of said address bus; processor means connectable to said bank and ports so as to control said buses and thereby access said memory; and 2 2 *4? <D O means for displaying at least part of said text; said bank being adapted to store four different most significant parts of an address to be placed on said address bus, thereby enabling said processor means to access one of said sections of memory in one access cycle and another of said sections in the succeeding cycle and retain an indication as to the location at which said one of said sections was last accessed, such that said processor means may sequentially access and process the code representation of said text using said programs and use each word and phrase code accessed therefrom to access said dictionary and phrase table files until character code is obtained therefrom, said processor means recursively accessing said phrase table file by phrase code until word code is retrieved for accessing said dictionary file; said processor means being adapted to control said display means to display a part of said text corresponding to said obtained character code.
A preferred embodiment of the present invention will now be described by way of example only, with reference to the accompanying drawings wherein: Fig. 1 is a flow diagram of a method of processing text according to the present invention; Fig. 2a is the top left hand corner of a circuit diagram of a text processing circuit; Fig. 2b is the top right hand corner of the circuit diagram of the text processing circuit; Fig. 2c is the right hand bottom corner of 9 the circuit diagram of the text processing circuit; Fig. 2d is the left hand bottom corner of the circuit diagram of the text processing circuit.
Fig. 3a is the left hand side of a circuit diagram of a memory circuit; Fig. 3b is the right hand side of the circuit diagram of the memory circuit; Fig. 4a is a first voltage waveform diagram; Fig. 4b is a second voltage waveform diagram and Fig. 5 is a plan view of part of the printed circuit layout of the memory circuit.
First/ the basic features of a method of processing text in order to store the text in a relatively small amount of memory space, which is applicable to any text comprising words, is described and secondly an implementation of the method that has been specifically developed for compressing the King James version of the Bible is described.
The text to be processed or compressed is initially loaded or stored into a raw data file. The raw data file is then processed in order to produce a second raw data file which comprises an ordered list of the unique words (i.e. those which are distinctive) which occur in the text. The words are also grouped into the subsets of recognizable words (such as water, boat, pen, etc.) symbols (?, &, 3, etc.) and special action units (such as end of line, beginning of paragraph, etc.).
The second raw data file is processed and each unique word is allocated a two byte binary code 2 2 4 known as a "token". The tokens comprise "printable tokens" (e.g. recognizable words, characters, symbols), "control tokens" (e.g. end of line, end of paragraph) used to control the display format, and "mode tokens" (e.g. next recognizable word starts with an upper case character) which affect the meaning of following tokens. Other types could also be included, for instance a token which means "call subroutine 22" which may be a display subroutine.
A dictionary file is created which matches tokens with the standard binary character code representation of their respective word. The text is then processed to replace the standard binary character code representation of each word in the text with their respective token, thereby creating a "token stream" which represents the text.
For example, applying the steps of the method to the passage "A horse! a horse! my kingdom for a horse!" would result in a token stream and dictionary file as follows (the decimal eguivalent of the binary codes being shown). 61 2 19 50 2 19 50 10 8 15 2 19 50 63 2a 15 for 61 next char is a capital 8 kingdom 19 horse 63 end of line 10 my 50 ! Preferably each printable token represents a respective word plus a space which occurs before the word. This eliminates the need for a token representative of the space character and as most i ^ I \ o / L 4 ."'~v 11 printable words in a text have a space before the word, this represents a substantial saving in memory space in itself. If necessary a token may be included which represents "do not place a space before the next word".
Segment pointers may also be included in the token stream in order to point to selected positions in the text such as the beginning of a chapter. If segment pointers are included particular attention should be paid to them in order to ensure they still point to a desired area of text after the token stream is manipulated.
The token stream representation of the text is further compressed by replacing pairs of adjacent tokens which occur a predetermined number of times in the stream with a representative "phrase token". A record of which pair of tokens a given phrase token corresponds to is stored in a phrase table file.
Each phrase token actually represents a particular phrase of words. A phrase token once inserted into the token stream may then be combined with adjacent word or phrase tokens and become a candidate for further reduction.
Assuming a token stream comprises n tokens, tj.) n being an integer, the number of two token phrases or adjacent token pairs in the stream is n-1. If a two token phrase occurs t times in the token stream then by replacing the two token phrase with a single phrase token represents a memory space saving of t tokens, however, two tokens will need to be stored in memory space in the phrase table file, provided the 22 4 12 binary code for the new phrase token is used as an index to the phrase table. This produces a memory space saving of t-2 tokens. Hence, to produce further memory space savings only two token phrases which occur more than two times in the token stream are reduced to a single phrase token.
The process of reducing two token phrases to single phrase tokens also reguires further considerations because all the phrases overlap and reducing a two token phrase affects the tally of adjacent overlapping phrases. For example with the sub-phrase "my kingdom for a", which has the token representation 10 8 15 2, if the two word phrase "my kingdom" is reduced to a single token phrase representation then this would reduce the tally of occurrences of the phrase "kingdom for" by one. Also if the "my kingdom" phrase occurs say 3 times in a stream and the phrase "kingdom for" occurs 15 times and the "my kingdom" phrase is reduced before the "kingdom for" phrase, then the memory space savings achieved by reducing the "kingdom for" phrase would be decreased.
To save as much memory space as possible when reducing two token phrases it is preferable to first obtain a tally of the number of occurrences of each two token phrase in the stream and then successively allocate phrase tokens to pairs of tokens starting from the pairs which occur most to the pairs which occur least, whilst ensuring that any two tokens which "clash" with previous two token phrases of higher tallies are not reduced. A two token phrase is said to clash with another two token 13 phrase if the first token of the first phrase is the last token of the second phrase or if the last token of the first phrase is the first token of the second phrase.
In order to achieve the above, following generation of the word token stream, a hash table is created by hashing the two token binary code for each phrase in the stream and then storing, at the location of the hash table indicated by the hashing operation, the first token and second token of the phrase and a tally of the number of times the phrase has been hashed on processing the stream. For every phrase in the table which has a tally less than three, the tally is set to zero. All the phrases having tallies greater than two are then allocated a respective "phrase index".
The token stream is processed once the phrase indices have been allocated in order to produce a "phrase index stream" which is used in determining which phrases should be reduced and allocated a single token. In the phase index stream all phrases having tallies less than 3 are represented by a 0 and the remainder are represented by their allocated phrase index. Referring to our previous example A horse! a horse! my kingdom for a horse! produces the standard token stream: 61 2 19 50 2 19 50 10 8 15 2 19 50 63 14 The phrase indices and tallies are as follows PHRASE TALLY PHRASE INDEX ALLOCATED 61 2 1 0 2 19 3 1 19 50 3 2 50 2 1 0 8 1 0 8 15 1 0 2 1 0 50 63 1 0 This produces a phrase index stream as follows 61 2 19 50 2 19 50 10 8 15 2 19 50 63 012 012 0 00 01 2 0 As zero phrase indices are not of interest, multiple zeros can be collapsed down to 1 zero, making the phrase index stream 0120120120 Each phrase index in the phrase index stream represents a two token phrase of interest.
A phrase tally file is created with the index to each record designated by a phrase index and each record contains the respective phrase, tally and "action field". The action field is used to indicate whether a phrase should be allocated a single phrase token, left untouched or removed because its tally has become less than three. The hash table is now no 22 4 7 longer required. An ordered phrase index file is also created which comprises a successively ordered list of the phrase indices starting from the phrase index representing the phrase which occurs most down to the phrase index representing the phrase which occurs least. Using the ordered phrase index file, the action fields of each of the phrases in the phrase tally file are accessed and adjusted so as to indicate "leave it untouched" if the respective phrase clashes with a phrase occurring more frequently or "to reduce it" if the phrase does not clash with another phrase or "remove it" if the tally of the respective phrase has become less than three.
The phrase table file is created and phrase tokens are generated by performing the following steps: 1. Accessing the ordered phrase index file to obtain a phrase index (starting from the phrase index representing the phrase which occurs the most). Alternatively a phrase index is accessed by sequentially processing the phrase index stream as described hereinafter with reference to the previous example. 2. Accessing a record of the phrase tally file on the basis of the phrase index. 3.(a) If the action field for the accessed phrase of the record is "leave it untouched" then no processing takes place. 16 If the action field indicates that the phrase is to be reduced then the following happens: (i). The phrase index of the phrase is deleted from the phrase index stream and an entry is made in the phrase table which allocates binary code, or a phrase token, to the two tokens of the phrase. (ii). The neighbouring phrases in the stream have their tally decremented by one and if the decrement causes a tally to become less than three then the respective neighbouring phrase is marked for deletion by setting its action field to "remove it". (iii). The first token of the phrase occurring before the accessed phrase in the stream together with the newly allocated phrase token form a new phrase. The newly allocated phrase token together with the second token of the succeeding phrase also form a new phrase. The new phrases are, hashed into a small hash table in order to see if they have been found previously in the stream. If it is an entirely new phrase, it is placed in the phrase tally file and given a tally of one and if it has been found before then its tally in the phrase tally file is incremented. If any one of the neighbouring phrases is zero then no new phrases are created. (iv). The phrase indices of the new phrases are inserted into the phrase index stream. 22 4 7 17 (c). If the action field indicates that the accessed phrase is to be removed the respective phrases indices in the stream are set to zero.
The small hash table is processed and all the new phrases having tallies less than three are removed.
The ordered phrase index file is then updated and is resorted so that the file indicates the correct phrase tally order.
If the ordered phrase index list still contains phrase indices then the process is repeated started from step one, yet if the phrase index stream is merely zero the the process is completed.
Once the above process has been completed the token stream is processed by replacing all of the two token phrases stored in the phrase table file with their respective phrase tokens. To avoid clashing the tokens should be replaced in the order in which they were allocated new phrases tokens or entered onto the phrase table file.
The process is continued until all of the phrases occurring more than twice have been reduced, or all of the available number of phrases indices have been allocated or all of the available memory space or tokens have been allocated.
In order to conserve phrase indices, . 18 2 whenever a two token phrase is removed or reduced its respective index is placed on a list which allows the index to be reused.
Following on from our previous example.
The phrase tally file is: O Phrase index Phrase Tally 1 2 2 19 19 50 3 3 The phrase index steam is: 0120120120 The action fields would become: Phrase Index Action 1 2 Reduce Do nothing (The phrase of phrase index 2 cannot be reduced as it "clashes" with the phrase of phrase index 1) o The phrase 2 19 is to be reduced and a new token 101 is allocated to replace the phrase 2 19. As the phrase index field is being processed the following would happen. 19 22 4 7 5 OUTPUT CURRENT INPUT PHRASE PHRASE PHRASE INDEX INDEX STREAM STREAM 0 120120120 0 1 20120120 ACTION COMMENT Zero is just copied Reduce 0 12 0 12 0 Do Index 3 is do- nothing nothing so just copy it. 03 12 0 12 0 Copy zero. 030 2 0 12 0 Reduce Ditto as above except we find index 3 = 101, 50 already exists so increment tally. 030 0 12 0 Do Copy.
Nothing 0303 03030 03030 0 12 0 2 0 Copy.
Reduce As Above.
Copy. 030303 0 Copy. 0303030 Finished.
* Its neighbours are 0 & 2. 0 is ignored. 2's tally is decremented to 2 and is therefore marked for deletion. A new phrase is created and allocated the index 3=101,50 with tally=l. Phrase 1 is deleted and since the previous phrase is a zero no output occurs.
The phrase index stream is now: 0 3 0 3 0 3 0 The phrase tally file is: Phrase index Phrase Tally 3 101,50 3 The next iteration would see the phrase index stream as just: 0 The phrase tally file is empty and one more new token of say 102 would replace the phrase 101,50.
The resultant token stream representation of the passage would be: 61 102 102 10 8 15 102 63 Once the above process has been completed further compression of the token stream may be achieved by replacing the most common 16 bit phrase tokens by 8 bit tokens if token memory space is still unused. For every block of 256 unused tokens with a common most significant byte a common token may be represented by the byte which would otherwise signify one of the group, if the tokens were two byte tokens.
If this further compression step is employed consideration is required when decompressing the token stream as some of the tokens in the stream will be 8 bit and the remainder will be 16 bit.
The dictionary file may also be further compressed by sorting the binary code representation of the words in the dictionary file into lexicographic order and not storing the common prefixes of the words. All of the binary character code of the suffixes is appended and stored in one large array and each word in the dictionary file is represented by three fields, preferably of 5 bits each, which represent the length of the word, the length of the suffix and an offset which indicates the characters which must be retrieved from the array of suffixes in order to make up the prefix of the word.
An example of such a dictionary file is shown below.
\S; 1 22 4 7 5 1 22 I n A o WORD LENGTH SUFFIX LENGTH BACKWARDS A 1 1 0 AND 3 2 1 ANY 3 1 1 ANYBODY 7 4 1 ANYONE 6 3 2 BE 2 2 0 BEAT 4 2 1 BEATNIK 7 3 1 BEATNIKS 8 1 1 BEATS 1 3 BEE 3 1 BEFORE 6 4 6 BEG 3 1 7 BEGGING 7 4 1 BEGIN 2 2 BEGINNING 9 4 1 BELL 4 2 11 BELT 4 1 1 BOAT 4 3 13 The suffix array would be: ANDYBODYONEBEATNIKSSEFOREGGINGINNINGLLTOAT « t Characters of a word are obtained by first adding all of the suffix lengths of the previous words in order to indicate the position in the array where the suffix of the word is stored and then chaining back down the array as far as possible using 23 the offset, or backwards points, field in order to obtain characters, from which the prefix of the word is determined using the length field of the word.
In order to decompress or expand the token stream representation of the text until suitable binary code is obtained for displaying characters of the text, each token to be decompressed is used as an index into the phrase table file thereby obtaining the two tokens that make up the token indexing the file. These tokens are used to recursively access the phrase table file until a token representing a word is found. The word token is then used to access the dictionary file so as to obtain a suitable binary code which can be used to display the word.
When a word or phrase is searched for in the compressed token stream the phrase table file and/or the dictionary file are accessed in order to determine all of the tokens which represent the word or phrase. These tokens are then searched for in the stream and each location in the stream is marked so that each corresponding part of the text can be decompressed and displayed as desired by a user.
If 8 bit tokens are used then decompression must start from a position known to be the start of the token and cannot be done in the reverse direction (i.e. is the previous byte an 8 bit token or the second half of a 16 bit token). To decompress in reverse, a known starting position in the reverse direction must be used and forward decompression started from there until the position of interest is reached. 2 ? 24 When the text is converted into a compressed token stream format all formatting information is lost (i.e. multiple spaces, end of lines, page breaks, tabs, nicely laid out tables of information, etc.) unless a user explicitly defines tokens for these formatting characters. If tokens are defined then the text should be able to be compressed and decompressed back to its original form. The problem with formatting information is that it can add significantly to the size of a token stream which means that the compression will not be as great. One solution is to leave this formatting information out, which will allow good compression and to reformat the file during decompression using a predetermined format. The output file, however, will not be a duplicate file. Decompression will be specific to the type of formatting which is selected. A compromise between memory space and functionality has to be decided upon.
When two level variable byte encoding is used (i.e. 8 bit and 16 bit tokens) segment pointers should be included in the token stream as they assist in decompression by supplying reliable offsets into the token stream where forward decompression may start.
The above methods have been used to compress the King James version of the Bible with a compression ratio of 4.2:1.
The following describes a specific embodiment which compresses the King James version of the bible. The steps are performed by a number of programs, which are shown encased in "bubbles" in Fig. 1.
The files referred to in Fig. 1 are as follows: .TXT- raw text • RTN- raw tokens (i.e. a token for each word in the text) .RDC- randomly ordered dictionary (maps tokens to words) .LCH- segment pointers (offset into .RTN of chapter headings) .LDC- mapping of new tokens to old after the dictionary is sorted.
.LTN output produced from using .LDC to translate .RTN.
.UPW- list of words that never have a lower case first character.
.STN- .LTN with upshifts removed from before words mentioned in .UPW.
.SDC- new dictionary adding a case field made from .LDC and .UPW.
.SCH new segment pointers after applying .UPW.
.FRZ- phrase table .CTN- compressed token file (now contains phrase and word tokens) .CCH- new segment pointers after phrase compression.
.TTN- compressed token file after optimisation using "two level variable byte encoding" algorithm. 26 r\ r\ / .TCH- .TKM- . PDC— PTABLE.BIN-PTAB.ASM-DICT.LTR-DATA.I - new segment pointers after optimisation compression. list of 16 bit tokens corresponding to the 8 bit replacements. compressed dictionary. binary phrase table. phrase table in assembly code form. suffix array of dictionary. other dictionary information and segment pointers.
For the bible the units of information are considered to be English words, printable symbols (such as full stops, question marks, etc.) and three special mode tokens for "next character is upper case", "next word is upper case" and "next word does not begin with a space". Five "control tokens" are also used to mark "the beginning of a verse", "the beginning of a chapter", "the beginning of a book", "the position of a required space", and "the position of a required line break". Spaces and other type setting information (such as end of line) are not allocated tokens as the reformating programme is assumed to re-typeset text, add spaces before words and count and convert "verse marks" and "chapter marks" into text of an appropriate format.
The program TKNIZE.C converts the text to a word token stream or a "standard format" token file. It also produces a randomly ordered dictionary file, a list of pointers to chapter headings and a list of pointers to book headings. The dictionary is then sorted into lexicographic order by a program SORTIT.C which also allocates new tokens to the previously 27 22 4 generated tokens once the dictionary has been sorted. The token stream is then translated from the old tokens to the new tokens by a program REORDER.C.
Program FINDUP.C scans the token stream or file for occurrences of word tokens that are always preceded by a "next character is upper case" token. A program TOUP.C uses this to adjust these words in the dictionary so that they are discernable from those which do not have upper case first letters, thereby removing the need for the "next character is upper case" tokens.
Compression of the token stream word file, as described previously is performed by two programs. The first program MAKEFRZ.C produces a phrase table file and a second program SHRINKIT.C performs the final internative reduction passes over the standard token stream in order to produce the compressed token stream.
Two level variable byte encoding is used and implemented by a program 816.C. The dictionary is also compressed, as described previously using a program PREFIX.C.
Decompression of the compressed text is performed as described previously. The first token of every chapter is stored in an array to provide starting points for decompression. If a user wishes to move backwards, decompression is started from the previous chapter boundary. A cache of pointers to tokens on line boundaries is kept so as to facilitate decompression. Formatting information is not 28 included in the token stream and the decompression program reformats the text before displaying it.
This allows a user to change the display format from single screen to split screen format without altering the stored compressed text.
All of the above mentioned programs recompute segment pointers whenever the token stream is manipulated and the program READFILES.C reads in most of the files created by the above programs and produces C code and binary files for compiling and burning into read only memory (ROM).
The source code for the text compression programs described above, together with a COMMON.H definition file, is detailed in appendix pages A1 to A63.
A text processing circuit, as shown in Fig. 2, for decompressing, searching, processing and displaying text comprises a microprocessor 10 for running decompressing, searching and display programs. The processor 10 has a 20 bit address and 8 bit data bus 12 with the data bus sharing the lower lines of the address bus.
The compressed text, dictionary file and phrase table file are stored, together with a program for decompressing and processing the text, in eight 128 kbyte EPROM's 400, as shown in Fig. 3b, which are housed in a module which can be connected and disconnected from the text processing circuit. The module comprises a memory circuit 402, as shown in Fig. 3. External memory housed in the module is 29 accessed using a 3/8 decoder 404 illustrated in Fig. 3.
The module is connectable to the text processing circuit via the 24 bit address bus 14 and 8 bit data bus 16, shown in Figs. 2b and 2c.
The eight data lines 16 are connected to a bidirectional transmitter receiver 18 which is also connected to a main address and data bus 20 connected to, inter alia, the address and data bus 12 of the microprocessor 10. The least significant bytes of the address lines 14 are connected to respective 8 bit latches 22 and 24 which in turn are also connected to the main bus 20.
The most significant byte of the address lines 14 is connected in parallel to four 8 bit latches 25 which form a bank register file 26 that enables bank switching to be performed with respect to the external memory contained in the module.
During execution of code stored in the external memory, each register or latch 25 in the bank register file 26 contains a different upper address byte and the processor 10 can select as desired a respective register 25 and jump to the corresponding area of external memory. The external memory is divided up into four areas, one containing the compressed text, the second containing the dictionary file, the third containing the phrase table file and the fourth containing the code for executing the display and processing programs. The bank register file 26 allows the processor 10 to move from one area of memory to the next whilst retaining an indication 22 47 of the position at which the processor 10 left the first area of memory. The bank register file 26 also allows the 20 bit address of microprocessor 10 to address an external memory space of 16 million memory locations, wherein preferably each location is capable of storing 8 bits, i.e. a byte. The processor 10 includes four segment registers which may correspond to a respective one of the 8 bit registers 25 in the bank register file 26.
The text processing circuit also comprises a reset circuit 30, as shown in Fig. 2a, which is configured so that whenever the module, containing the external memory, is plugged into or connected to the text processing circuit power is supplied to the text processing circuit and the microprocessor 10 is reset. A clock generator 32 is provided to supply a continuous clock signal to the processor 10, together with reset signal when the reset circuit 30 detects connection of the module.
Once reset, the processor 10 accesses a diagnostic and initialisation program which is stored in an EPROM 34. Upon completing the diagnostic and initialisation program the processor 10 then accesses the external memory and begins running the decompressing, searching and display program stored in the external memory.
The text processing circuit also includes two static RAMs 36 and 38 for storing any volatile variables which are used during execution of the program stored in the external memory. The variables include pointers to pieces of text and information which needs to be stored in stacks and queues.
The EPROM 34 and the RAMs 36 and 38 are accessed by the processor 10 via a sub-address bus 40 which is connected to three 8 bit latches 42, 44 and 46 which are used to store the current address outputted by the processor 10 whilst the main bus 20 is carrying data.
To display a selected piece of text the processor 10 accesses the compressed text stored in the external memory and decompresses the compressed text using instructions received from the compression program. Once the text is decompressed the processor 10 accesses a text font, which is also housed in the module, so as to obtain the dot matrix pattern for each character in the decompressed text. The processor 10 then outputs the dot matrix pattern for each character of the text to a liquid crystal display controller 50 and instructs the controller 50 to display the piece of text on a liquid crystal display 52.
The text processing circuit also includes two further static RAMs 54 and 56 connected to the liquid crystal display controller 50 which act as image memories. The image memories 54 and 56 store the dot matrix pattern being displayed by the liquid crystal display 52 so that the display 52 can be continually refreshed whilst the processor 10 accesses the external memory or other units of the text processing circuit.
The formatting of the display on the LCD 52 32 is controlled by the controller 50 and the microprocessor 10.
Control of the display by a user is effected using the switches S0-S5, shown in Fig. 2d. When the processor 10 executes the program in the external memory the display generated by the LCD 52 includes a number of menu items which represent commands by which a user may control the display of text. A cursor appears on the display and switches S1-S4 allow a user to move the cursor so as to select a desired menu item or a passage or word in the displayed text. The switch SO when depressed instructs the processor to execute the program option represented by selected menu item and switch S5 when depressed halts the execution of any program option selected and allows the user to select a new option. The menu items represent all display, searching and text marking options which the program stored in the external memory allows.
The text processing circuit also includes a button register or latch 60 which stores the status of the switches S0-S5 and is connected to the processor 10 via the main bus 20. The button register 60 allows the processor 10 to determine the status of the switches S0-S5 desired without being affected by instantaneous changes in the switch states. The text processing circuit also has a real time clock circuit 62 which controls all events which are time dependent. These events include turning off the power to high power consumption units, such as the LCD controller 50 and the external memory, when none of the switches S0-S5 are depressed for five 33 2r% / £ H minutes, and instructing the button register 60 to read in the status of the switches every one fifth of a second. The real time clock circuit 62 effectively saves power by allowing the processor 10 to enter an idle mode when the circuit 62 is monitoring time dependent events, instead of the processor 10 executing a series of program loops to determine the expiration of time.
An interrupt register 64 is provided to pass a predetermined code to the processor 10 whenever the real time clock 62 interrupts the processor 10 so that the processor 10 is aware that the real time clock circuit 62 has instructed the interruption. A power switch register 66 is also included in the text processing circuit to store and output the instructions which cut power to the high power consumption units. The power switch register 66 is connected to the main bus 20 and receives instructions from the processor 10 in response to interruptions by the real time clock circuit 62.
So the processor 10 can access the various areas of memory in the text processing circuit and in the module, together with the various I/O devices, the text processing circuit includes four decoders 70, 72, 74 and 76 as shown in Fig. 2b. All of the memory associated with the text processing circuit is divided into four parts as follows. The first quarter is allocated to the EPROM 34 containing the diagnostic and initilization programs. The next two quarters are allocated to the external memory in the module and the last quarter is allocated to the RAMs 36 and 38 for storing volatile variables. Three 2/4 22 U 34 decoders 72, 74 and 76 are used to select one of the quadrants of memory and select one of the four registers 25 of the bank register file 26 when the external memory is selected. The remaining 3/8 decoder 70 is used to select I/O devices accessed by processor 10, such as the real time clock circuit 62, the LCD controller 50, the button register 60 and the registers 25 of the bank register file 26 when data is written to the registers 25.
The text processing circuit also includes a DC to DC converter 80 which converts a +5 volt DC supply to a -12 volt DC voltage for supply to the liquid crystal display 52. The converter 80 is configured so that the LCD 52 only draws a load current of 1 to 2 mA from the converter 80.
The converter 80 comprises a transistor 82 which has its base current supplied from the output of an AND gate 84 and has the primary of a transformer 86 and a resistor 88, connected in ^ series, as its load. The AND gate 84 receives a ^ clock pulse from the clock generator 32 and passes the clock pulse through a resistor 90 to the base of the transistor 82 whenever the other input of the AND gate 84 is high. The other input of the AND gate 84 ^ is connected to an output of the power switch register 66 and this input only goes low when power is to be cut to all high power consumption units of the text processing circuit. High clock pulses passed to the transistor 82 turn the transistor on and low pulses turn the transistor 82 off. A capacitor 92 connected in parallel with the resistor 90 is provided to increase the switching speed of the v g g § C f / transistor 82 by increasing the base drive of the transistor 82. An important parameter is the speed with which the transistor 82 turns off, which will come apparent from the following. As a result, the transistor 82 is chosen to have a low storage time and a fast turn off time. It is also chosen to have a high gain. Given a minimum |5, resistor 90 is chosen to keep the transistor 82 at the edge of saturation when the transistor 82 is on. The capacitor 92 is also chosen so that the RC time constant of the capacitor 92 and resistor 90 is such that the current of the capacitor 92 decays to almost zero at the end of positive or negative clock pulses. The time constant is chosen to be approximately 86 nanoseconds.
When the transistor 82 is turned on, current is drawn through the primary winding of the transformer 86, which induces a magnetic field in the primary inductance. The induced magnetic field effectively represents a current i as governed by the equation E = L.di/dt, where L represents the inductance of the primary and E represents the voltage drop across the primary. The voltage E also varies with time in accordance with the voltage drop which occurs across the resistor 88 and a potentiometer 94, which is connected to a 5 volt supply and has its wiper connected to the resistor 88.
When the transistor 82 is suddenly switched off the current effectively stored in the transformer 86 produces a large negative voltage pulse on the secondary winding of the transformer 86. Fig. 2d shows a 2:1 transformer, however, a 3:1 transformer 0 / K 36 may be used. With no load on the secondary winding the secondary voltage would have a waveform as shown in Fig. 4a.
However, a capacitor 100 and a diode 102 are connected to the secondary winding, as shown in Fig. 2d. The negative pulses generated on the secondary winding cause the diode 102 to conduct thereby charging the capacitor 100 towards a negative voltage. The capacitor 100 is selected as a large capacitor due to the transient nature of the load drawn by the LCD 52, which is connected to the converter 80 at the point of connection 104 of the capacitor 100 and the diode 102. As a result, the negative pulses on the secondary winding of the transformer 86 are "clipped", with the portion of the current which would have produced a negative peak being used instead to charge the capacitor 100. Therefore the waveform produced is as shown in Fig. 4b. An equilibrium is reached when the peaks of the negative pulses supply the total current required by the LCD 52. This ensures that the capacitor 100 is continually charged at approximately -12 volts. The actual voltage may be varied by adjusting the potentiometer 94, which controls the contrast and brightness of the LCD 52. The resistor 88 is included to limit the current through the transistor 82 in the event that the potentiometer 94 is inadvertently adjusted so as to present a resistance of zero ohms.
As a negative voltage greater than -15 volts would result in damage of the LCD 52, zener diode 200, a diode 202, a resistance 204 and a capacitance 1 o £ i. ff /j 37 7 t; / 206/ connected as shown in Fig. 2d, have been included in the converter 80 so as to limit the range of the negative voltage. This limitation could be achieved by some form of clamping circuit which would shunt the excess voltage stored in capacitor 100 to ground, however, this would result in the converter 80 having a higher power consumption. The configuration shown in Fig. 2d was selected to minimize power consumption, in particular the current drawn by the converter 80.
During the time that the transistor 82 is turned on, a small component of the current through the resistor 90 and capacitor 92 is diverted through the diode 202. This is used to charge the capacitor 206 to a slight positive voltage, approximately 0.2 volts. The resistor 204 passes some of this voltage to ground, however, the resistor 204 and the capacitor 206 are chosen so as to have a long time constant (approximately 1.5 ms) so that there is minimal change in the voltage generated across the capacitor 100. When the secondary winding of the transformer 86 generates a large negative pulse and the voltage across the capacitor 100 approaches -15 volts, the zener diode 200 begins to conduct. The zener diode 200 is a 15 volt breakdown zener diode, which means the diode 200 conducts when the voltage at the point 104 exceeds -14.8 volts, because the voltage across the capacitance 206 is approximately 0.2 volts.
The current through the diode 200 causes the voltage across the capacitance 206 to become negative, so that when the base current of the 38 transistor 82 is trying to turn the transistor 82 on, a larger percentage of the base current is diverted through the diode 202. This reduces the base current applied to the transistor 82 which reduces the transistor's collector current when it turns on and allows the transistor 82 to move out of saturation near the end of its on cycle. This in turn reduces the voltage across the primary of the transformer 86 while the transistor 82 is on, with an accompanying reduction in the current generated in the primary of the transformer 86. An equilibrium voltage is thereby maintained at the point 104 of approximately -15 volts, without the need for a clamp circuit which would waste power.
The printed circuit board of the interconnecting module, part of which is shown in Fig. 5, is configured so that when the module interconnects with the text processing circuit predetermined pins are connected prior to other pins in order to ensure the circuitry of the module and the processing circuit are not damaged by static discharge and that a particular connection sequence occurs upon interconnection.
The desired sequence is firstly the module is connected to ground, secondly all reset signals are grounded so as to disable all of the tri-state logic outputs of the module and reset the microprocessor 10, which disables the output ports 18, 22, 24 and 26 of the data processing system, thirdly power is applied to the module, fourthly all of the signal lines are connected and finally the ground to all of the reset lines is removed so as to 39 9 0/7 / y -7 - , Si enable the output ports of the module and the data processing system and initialise operation of the microprocessor 10. This is achieved by preferably extending the interconnecting pin tracks, as shown in Fig. 5, so that whenever the module is connected to the text processing circuit certain pin tracks connect prior to others, regardless of the angle at which the module is introduced into the connecting portion of the processing circuit. The first connection that is made is to the ground pin tracks 300 and then the reset pin tracks 302 are connected, which results in resetting the microprocessor 10 and disabling the tri-state outputs of the module. Next the power supply pin tracks 304 are connected thereby powering up the module and then the signal tracks 306 are connected. Finally the reset pin tracks 302, which, as shown in Figure 5 are relatively small tabs parallel and affixed to the ground tracks 300, are disconnected from the reset signal lines thereby enabling the microprocessor 10 to operate and enabling the output ports of the module and the data processing system.
Many modifications will be apparent to those skilled in the art without departing from the scope of the invention as hereinbefore described with reference to the accompanying drawings and claimed in the following claims.
' V 224.7 SI 40

Claims (26)

WHAT WE CLAIM IS:
1. A method of processing a text comprising 1 (O words represented by binary character code in order I j to store the text in an inanimate memory, said method comprising: I creating a dictionary file which relates the j binary character code of each word in said text to a j binary word code representative of the word itself; j (~) altering the binary character code j representation of said text by replacing the binary j character code representation of each word with the : 1 I corresponding binary word code according to said I : dictionary file; | creating a phrase table file which relates I the binary word code of pairs of words, which are I' adjacent one another in said text and occur in said J text at least three times, to binary phrase code |: representative of said pairs; I adjusting said phrase table file so as to | relate two binary phrase codes, or a binary phrase ,1 code and a binary word code, to a | binary phrase code, said two phrase codes, or said 5 U- phrase and word codes, representing a group of words | which comprise a phrase and occur in said text at | least three times; $ | altering the code representation of said j text so as to replace binary word code with binary jj phrase code according to said phrase table file'; | storing the altered code representation of said text j in said menory.
2. A method of processing a text as claimed in claim 1, further comprising: creating a phrase tally file which includes a tally of the numbers of occurrences of pairs of words adjacent one another in said text; and ; 41 adjusting said phrase tally file so as to include a tally of the number of occurrences of phrases in said text which correspond to two phrase codes, or a phrase code and word code; wherein a phrase code is allocated to represent two word codes, two phrase codes, or a phrase code and a word code if, according to said tally file, the pair of adjacent words, or phrase, represented thereby has a tally greater than two; and the tally of any preceding or succeeding pair of adjacent words, or phrase is decremented by one.
3. A method of processing a text as claimed in claim 3, wherein prior to allocating a phrase code to represent two word codes, two phrase codes, or a phrase code and a word code, the phrase tally file is processed and if the pair of adjacent words, or phrase, corresponding thereto overlaps with another pair of adjacent words, or phrase, having a higher tally, the respective two codes representative thereof clash and said allocation is prevented.
4. A method of processing a text as claimed in claim 3, further comprising processing said binary word code representation of said text so as to generate said phrase tally file which comprises a plurality of records each having a first field including a pair of adjacent word codes, a second field including the tally of said pair, and a third field which may be used to indicate operations to be performed in respect of said pair, said records being accessible by a respective index. 22 4 42
5. A method of processing a text as claimed in claim 4/ wherein said phrase tally file only includes records in respect of pairs of word codes having tallys greater than two, and said method further comprises processing said word code representation of said text so as to generate an index stream representative of the position of pairs of adjacent word codes in said text, said index stream including the indices associated with the pairs of word codes in said phrase tally file and markers representative the pairs of word codes having tallys less than three
6. A method of processing a text as claimed in claim 5, wherein said phrase tally file is processed so that the third field of records relating to pairs of word codes, which clash with other pairs having a higher tally, indicates allocation of a phrase code is to be prevented, and the third field of the remaining records indicates allocation is to be performed.
7. A method of processing a text as claimed in claim 6, wherein after processing of said phrase tally file, said index stream is sequentially processed according to the following steps: (a) an index is accessed and a corresponding record is accessed from the phrase tally file; (b) if the third field of the accessed record indicates allocation is to be performed: (i) a phrase code is allocated to represent the pair of adjacent codes of the second field of the accessed record and a corresponding entry is made in the phrase table file; (ii) any indices immediately preceding or i o -J 3 \ ) I ! C* a f «■- -a;*6/^4 r ol 43 succeeding the accessed index are used to access the phrase tally file and the second fields of the records corresponding thereto are decremented by one and if said second fields become less than three the third field corresponding thereto is adjusted to indicate the respective index is to be removed from the index stream; (iii) if an index immediately precedes or succeeds said accessed index a new pair of adjacent codes, including said allocated phrase, is created and an index is allocated thereto and inserted in said stream and a tally kept thereof of occurrences in said stream during processing of said stream (c) if the third field of the accessed record indicates.the respective index is to be removed from the stream the accessed index is removed from the stream.
8. A method of processing a text as claimed in claim 7, wherein after said stream is sequentially processed, the phrase tally file is adjusted to include each said new pair of adjacent codes having a tally greater than two and said stream is continuously and sequentially processed and the phrase tally file adjusted accordingly thereafter until all of the indices in said stream have been removed.
9. A method of processing a text as claimed in any one of the preceding claims wherein said dictionary file comprises a plurality of dictionary records each including the binary character code for at least the last character of a word, the binary character code of a word being accessible from said 44 dictionary record, the number of characters in the word, the number of characters which the binary character code of the corresponding record represents
/On i..' and the next dictionary record which needs to be accessed to obtain any remaining characters of the word, are determined using the corresponding word code. '0 10• A method of processing a text as claimed in claim 9, wherein each dictionary record further includes three fields indicating the number of characters in the word, the number of characters which the character code of the dictionary record represents, and the next dictionary which needs to be accessed, respectively, and the corresponding word code directly accesses said record.
11. A method of processing a text as claimed in any one of claims 1 to 10, wherein said word and phrase codes comprise sixteen bits.
12. A method of processing a text as claimed in claim 11, wherein the 256 words which occur the most in said text are represented by eight bit word codes.
13. A memory medium comprising text which has been processed according to the method as claimed in "2) any one of claims 1 to 12.
14. A method of decompressing text processed according to the method as claimed in any one of claims 1 to .12, comprising sequentially processing the code representation of said text and using each word and phrase code accessed therefrom to access the 45 dictionary and phrase table files until character code is obtained therefrom/ said phrase table file being recursively accessed by phrase code until word code is retrieved for accessing said dictionary file.
15. A method of accessing stored text which has been processed according to the method as claimed in any one of claims 1 to 12, comprising: receiving a signal indicating that a predetermined word or phrase is to be searched for in the text, accessing said dictionary file and phrase file, in response to said signal, to determine the corresponding binary word and/or phrase code to be searched for in said stored text so as to locate said predetermined word or phrase, searching said stored text on the basis of said corresponding binary code, and displaying, in response to said searching step, a location of said predetermined word or phrase in said text.
16. A data processing system connectable to memory comprising a text processed according to the method as claimed in any one of claims 1 to 12, said system comprising: means for sequentially accessing the code representation of said text in said memory and using each word and phrase code accessed from said code to access the dictionary and phrase table files in said memory until character code is obtained therefrom, said means recursively accessing said phrase table file by phrase code until word code is retrieved for accessing said dictionary file; and 46 22 4 7 means for displaying at least part of said text corresponding to the obtained character code, said displaying means being controlled by said accessing means.
17. A data processing system connectable to memory comprising a text processed according to the method as claimed in any one of claims 1 to 12, said system comprising: means for receiving a signal indicating that a predetermined word or phrase is to be searched for in the text, means responsive to said receiving means for accessing said dictionary file and phrase table file to determine the corresponding binary word and/or phrase code to be searched for in said stored text in order to locate said predetermined word or phrase, and for searching said stored text on the basis of said corresponding binary code, and means responsive to said accessing means for displaying a location of said predetermined word or phrase in said text.
18. A data processing system connectable to memory which includes a text processed according to the method as claimed in any one of claims 1 to 12, said memory having a first section which includes the code representation of said text, a second section which includes said dictionary file, a third section which includes said phrase table file, and a fourth section which includes decompressing, searching and display programs, said system comprising: and address bus and a data bus which are connectable to said memory; 47 22 4 7 a register bank connected to part of said address bus and input/output ports connected to said data bus and the remainder of said address bus; processor means connectable to said bank and ports so as to control said buses and thereby access said memory; and means for displaying at least part of said text; said bank being adapted to store four different most significant parts of an address to be placed on said address bus , thereby enabling said processor means to access one of said sections of memory in one access cycle and another of said sections in the succeeding cycle and retain an indication as to the location at which said one of said sections was last accessed, such that said processor means may sequentially access and process the code representation of said text using said programs and use each word and phrase code accessed therefrom to access said dictionary and phrase table files until character code is obtained therefrom, said processor means recursively accessing said phrase table file by phrase code until word code is retrieved for accessing said dictionary file; said processor means being adapted to control said display means to display a part of said text corresponding to said obtained character code.
19. A data processing system as claimed in claim 18, wherein said memory is housed in a module connectable to said system and said system comprises a reset circuit which initialises and supplies power to said system and said memory when said module is connected to said system. 48
20. A data processing system as claimed in claim 19/ wherein said module and system are such that on connecting said module to said system, first circuitry in the module is earthed, secondly a reset signal is applied to the processor means and input/output ports of the module are disabled, thirdly power is supplied to the module, fourthly corresponding input/output signal lines of the system and module are connected and finally the reset signal to the processor mores is removed and the ports of the module are enabled.
21. A data processing system as claimed in any one of claims 18 to 20, further comprising selection means for causing said processor means and said display means to move a cursor on a display so as to select a displayed word or menu item, execution means causing said processor means to perform an operation according to said selected menu item and based on said selected word, and cancellation means for causing said processor means to cancel said operation.
22. A data processing system as claimed in claim 21, further comprising means for disabling power supply to said memory and selected units of said system when switches associated with said selection, execution and cancellation means are unused for a first predetermined period of time.
23. A data processing system as claimed in any one of claims 18 to 22, further comprising additional memory for storing initialisation and diagnostic routines and variables used during execution of said £24751 49 programs in said memory, a sub-address bus used by said processor means to access said additional memory and holding latches for storing a current address outputted by said processor means whilst a main address/data bus is used to carry data accessed from said additional memory.
24. A method of processing a text substantially as hereinbefore described with reference to the accompanying drawings.
25. A method of decompressing text substantially as hereinbefore described with reference to the accompanying drawings.
26. A data processing system substantially as hereinbefore described with reference to the accompanying drawings.
NZ22475188A 1987-05-25 1988-05-23 Encoding text for storage as word and phrase tokens NZ224751A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
AUPI210487 1987-05-25

Publications (1)

Publication Number Publication Date
NZ224751A true NZ224751A (en) 1990-04-26

Family

ID=3772190

Family Applications (1)

Application Number Title Priority Date Filing Date
NZ22475188A NZ224751A (en) 1987-05-25 1988-05-23 Encoding text for storage as word and phrase tokens

Country Status (3)

Country Link
CA (1) CA1304512C (en)
IN (1) IN170866B (en)
NZ (1) NZ224751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8937148B2 (en) 2012-09-07 2015-01-20 Empire Technology Development LLP Regioregular copolymers and methods for making same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8937148B2 (en) 2012-09-07 2015-01-20 Empire Technology Development LLP Regioregular copolymers and methods for making same
US9181287B2 (en) 2012-09-07 2015-11-10 Empire Technology Development Llc Regioregular copolymers and methods for making same

Also Published As

Publication number Publication date
IN170866B (en) 1992-06-06
CA1304512C (en) 1992-06-30

Similar Documents

Publication Publication Date Title
US5374928A (en) Method of processing a text in order to store the text in memory
US4579533A (en) Method of teaching a subject including use of a dictionary and translator
NZ224751A (en) Encoding text for storage as word and phrase tokens
JPS5896371A (en) Information retrieving device
JPH05158990A (en) Data retrieval device
WO1983003914A1 (en) Electronic dictionary with speech synthesis
JPS63208919A (en) Electronic equipment
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JPS5951015B2 (en) document creation device
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPS5876967A (en) Information retrieval device
McAllister et al. A design for an online bibliographic database: The DOBIS-LIBIS database
JPH0638258B2 (en) Character processor
JPH025175A (en) Character processor
JPH03176759A (en) Character processor
JPS5876965A (en) Information retrieval device
JPS61187071A (en) Character processor
JPS61188658A (en) Character processing device
JPS62119665A (en) Word processor
JPH0421217B2 (en)
JPS61188657A (en) Character processing device
JPS5843064A (en) Information retrieving device
JPS62229465A (en) Document processor
JPH07325844A (en) Electronized dictionary retrieval device
CN1077545A (en) Device for language reproduction