GB2130408A - Computer programmed for changing its natural language - Google Patents

Computer programmed for changing its natural language Download PDF

Info

Publication number
GB2130408A
GB2130408A GB08330357A GB8330357A GB2130408A GB 2130408 A GB2130408 A GB 2130408A GB 08330357 A GB08330357 A GB 08330357A GB 8330357 A GB8330357 A GB 8330357A GB 2130408 A GB2130408 A GB 2130408A
Authority
GB
United Kingdom
Prior art keywords
language
computer
key words
list
interpreter
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
GB08330357A
Other versions
GB8330357D0 (en
Inventor
Georges Zakharia
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of GB8330357D0 publication Critical patent/GB8330357D0/en
Publication of GB2130408A publication Critical patent/GB2130408A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Devices For Executing Special Programs (AREA)
  • Machine Translation (AREA)

Abstract

A computer has an interpreter which replaces key words expressed in a first natural language (e.g. English) by a code in machine language. The key words are recorded in a given order in a first memory region. In order to enable the computer to operate in a second natural language (e.g. French), the key words in the second language are recorded corded in the same order in a second memory region, which is then substituted for the first memory region.

Description

SPECIFICATION Computer programmed for changing its base language The present invention relates to methods for changing the base language of a computer, and to computers programmed for changing their base language, and more specifically relates to the invention of a process for changing the language from which the key words of a language for programming a computer, especially a mirocomputer, are chosen.
It is known that the programming of a computer can be done only by using a programmable language which includes a certain number of key words chosen from a particular language, most frequently English.
Each key word specifies an instruction which has to be performed by the computer.
When a computer which includes an "interpreter" is being programmed, instructions are fed into the latter by means of a key board and these instructions, which are stored in a buffer memory, are analysed by the computer's interpreter. This analysis consists of identifying the different key words contained in these instructions in order to replace each of them by machine code which enables the computer to carry out the instructions. This identification is obtained by a comparison of the various words read in the instructions fed into the computer with the various words on a list of key words pre-recorded in a given order in a region of memory which is either a read-only memory unit of the computer or a medium such as a disc, the contents of which are intended to be transferred automatically to one of the computer's random-access memories.Then the computer's interpreter replaces each of the key words recognised in the instructions fed in by its machine code, i.e., by a binary number which is characteristic of this key word, in order to enable the computer to carry out the instructions.
In the reverse process, when decoding in order to display a result, the interpreter replaces all numbers which represent a letter, a figure or an instruction respectively by such letter, figure or key word corresponding to this instruction, and the information which has been decoded is displayed, for example on a screen, as it appears in the recorded list of the key words.
This has the disadvantage of allowing the computer to be used only by persons who have a certain knowledge of the language from which the key words are chosen or, at least, of discouraging potential users whose mother tongue is not that from which the key words have been chosen, particularly since the error messages displayed by the computer to notify the user of any error in programming also consist of words chosen from the key words language. This may upset a user who is not sufficiently acquanted with the said language even more, and possibly does not allow him to understand his programme errors.
It is proposed, by means of the present invention, to remedy these disadvantages by a very simple and inexpensive operating process.
Accordingly, the purpose of the invention is to provide a method making it possible to change the language from which the key words of a computer programming language have been chosen so that any user who does not wish to converse with the computer in the said language may change the language.
For this purpose, the method according to the invention is characterised by the fact that it consists in recording, in a second memory region which can replace the first storage region, in which there are recorded in series and in a given order the key words chosen from a first language, the list of the same key words expressed in a second language and taken in the same order and then of substituting the second memory region for the first.
The invention also comprehends a computer provided with an interpreter which replaces by a code in machine language each of the key words expressed in a first language, the list of which words is recorded in a a given order in a first memory region, in which the computer is programmed to record in a second memory region, which can be substituted for the first memory region, the list of the same key words expressed in a second language, taken in the same order and associated with the same codes in machine language, and then to substitute the second memory region for the given first memory region.
In addition to the low cost and ease of putting such a process into effect, it has the basic advantage of not calling for any alteration of the programmes themselves.
When it is intended for a computer, whose interpreter is contained in a read-only memory unit of the computer, the process according to the invention is preferably characterised by the fact that it consists of replacing this read-only memory unit by a like read-only memory unit in which the list of key words chosen from the second language has been recorded. On the other hand, if the interpreter is on a medium such as a disc and is intended to be loaded automatically into one of the computer's random-access memories, the process according to the invention is preferably characterised by the fact that it consists of replacing this medium by a similar medium on which there is an interpreter modified by the recording of the list of key words expressed in the second language.
The present invention woll be understood better by means of an embodiment of the invention which is described below, purely by way of example and not by way of limitation.
The programme is entered line by line, using a keyboard, into a microcomputer which has initially been programmed with a programming language, the key words of which have been expressed in English. Each line is a series of a maximum of 255 characters, including the spaces between the words, the letters or the numbers and this line is stored, as it is recorded, in a buffer memory region, in which the line is analysed.
This analysis consists of looking for the key words in the programming language used, which appear in the line.
This search is done by the computer's interpreter which, after identifying the key words contained in each line, replaces them by their code in machine language.
For example, if the line "10 NEXT I" is entered, this is recorded in the buffer memory in the form of a sequence of 9 characters: 1101 INJEIXITI Ill Since the first letter which appears in this line, reading from left to right, is an N, the computer searches for the key words or words beginning with an N in the first memory region in which the list of key words in English has been recorded in series in a given order. If such words exist, the check continues in respect of the letter following the N in the first word to be found on the line which is read and so on until the correspondence is complete, thereby ensuring identification of the key word.
If the list appears in the following way: EINIDIFIOIRINIEIXITIDIAITIAI in this first memory region in which the list of key words in English has been recorded in series in a given order,the word "NEXT" which is the first word to appear in the line stored in the buffer memory is recognised as being the key word in the third position in the list of key words.
The interpreter allocates to it a code number which is equal to the rank of the key word in the list, in this example 3, increased by a constant, for example 128, so that the number 128 + 3 = 131 represents the word NEXT in the memory.
The above input line is then coded into machine language as follows: 49 48 131 73 in which 49 is the internal code of the "1" 48 is the internal code of the "0" 131 is the internal code of "NEXT" (128 + 3).
73 is the internal code of "I" Since in the list, the keywords follow each other without a break, to indicate a word end, the last letter of each keyword is coded differently, by the sum of the code of the letter and of the constant, which is 128 in this example.
When decoding takes place, it is obvious that any internal code of less than 128 corresponds to a letter or a figure while any code greater than 128 corresponds to an instruction key word, the rank of which is found in the list by deducting the value of the constant, i.e., 128, from this code. For example, if the code is 131, the rank of the keyword corresponding to this code in the list of key words is 131 - 128 = 3; consequently, in recording the list of key words, starting from the beginning, (3-1) = 2 end-of-word codes (greaterthan 128) will be counted and the following key word will be read. Referring to the list this corresponds to the key word NEXT which may then be displayed on the screen as it appears in the list.
If it is desired to converse with the computer in French, the list of the corresponding key words in French is drawn up in the same order and is recorded in a second memory region, which can replace the one on which the list of key words in English is recorded.
For example, in order to correspond to the list shown previously, this list in French would be: FI I INIPIOIUIRIRIEIPIEI TIEIDIOININIEIEISI Consequently, when decoding the series of internal codes stored in the previous example, namely: 49 48 131 73 it is found that: 39 is still the codefor"1" 48 is still the code for "0" 131 corresponds to the third key word on the list of key words in French, i.e., REPETE 73 corresponds to the code for the letter "I" Thus, the instruction previously entered in English is decoded in French as follows:: 10 REPETE 1 The internal coding process is the same for a programme in French as for a programme in English, and it is obvious that a programme written in French is coded in machine language so that it can still be decoded in English on a computer which has not been modified, by substituting the read-only memories in which the list of the key words is recorded. The same result is obtained if the list of key words is on a medium, for example, a disc, which cooperates with the computer.
It is an advantage if the list of key words also includes all the words used in composing error messages in order that these latter may also be translated so that a French user can see this error reported in French.
In the microcomputers on the market at present, it is frequently the case that the programming language interpreter is in the read-only memory of the said microcomputer. The modification to be made according to the invention consists, therefore, of replacing the read-only memories concerned in the micro-computer by new memories which can replace them in which the list of key words has been recorded in French, in Spanish or in any other language and which therefore, enable programming to be done in the corresponding language.
However, in certain embodiments of microcomputers, the interpreter is on a disc and it is loaded automatically into a random-access memory which is reserved for it. In this case, the modification to be made according to the invention consists of preparing discs on which an interpreter appears which is modified by the recording of the list of key words in French, in Spanish or in any other language and which are such that the substitution of one of these discs for another enables the programming language to be changed correspondingly.

Claims (7)

1. A computer provided with an interpreter which replaces by a code in machine language each of the key words expressed in a first language, the list of which words is recorded in a given order in a first memory region, in which the computer is programmed to record in a second memory region, which can be substituted for the first memory region, the list of the same key words expressed in a second language taken in the same order and associated with the same codes in machine language, and then to substitute the second memory region for the given first memory region.
2. A computer as claimed in claim 1, wherein the interpreter is in a read-only memory unit, in which the read-only memory allocated to the interpreter and pre-programmed to work in the first language is replaced by a similar read-only memory unit in which the list of key words expressed in the second language has been recorded.
3. A computer as claimed in claim 1, wherein the interpreter is on a medium such as a disc and is intended to be loaded automatically into a random-access memory in the computer, in which this medium is replaced by a similar medium on which there is an interpreter modified by the recording, in the same sequential order, of the list of key words expressed in the second language.
4. A method of changing the language from which there are chosen the key words of a programming language of a computer provided with an interpreter which replaces by a code in machine language each of the key words expressed in a first language, the list of which is recorded in a given order in a first memory region, which method consists of recording in a second memory region, which can be substituted for the first memory region, the list of the same key words expressed in a second language, taken in the same order and associated with the same codes in machine language, and then of substituting the second memory region for the given first memory region.
5. A method as claimed in claim 4, intended for a computer the interpreter of which is in a read-only memory unit, in which the read-only memory allocated to the interpreter and pre-programmed to work in the first language is replaced by a like similar read-only memory unit in which the list of key words expressed in the second language has been recorded.
6. A method as claimed in claim 4, intended for a computer in which the interpreter is on a medium such as a disc and is intended to be loaded automatically into a random-access memory in the computer, in which the method consists in replacing this medium by a similar medium on which there is an interpreter modified by the recording, in the same sequential order, of the list of key words expressed in the second language.
7. A method of changing the base language of a computer substantially as hereinbefore described.
GB08330357A 1982-11-19 1983-11-14 Computer programmed for changing its natural language Withdrawn GB2130408A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR8219423A FR2536555A1 (en) 1982-11-19 1982-11-19 METHOD FOR CHANGING THE BASIC LANGUAGE OF A COMPUTER

Publications (2)

Publication Number Publication Date
GB8330357D0 GB8330357D0 (en) 1983-12-21
GB2130408A true GB2130408A (en) 1984-05-31

Family

ID=9279344

Family Applications (1)

Application Number Title Priority Date Filing Date
GB08330357A Withdrawn GB2130408A (en) 1982-11-19 1983-11-14 Computer programmed for changing its natural language

Country Status (2)

Country Link
FR (1) FR2536555A1 (en)
GB (1) GB2130408A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0047414A1 (en) * 1980-09-08 1982-03-17 KEARNEY & TRECKER CORPORATION Method and apparatus for multilingual communications of computer-specified control messages

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2008818B (en) * 1977-11-03 1982-03-31 Lexicon Corp Electronic dictionary with plug-in module intelligence

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0047414A1 (en) * 1980-09-08 1982-03-17 KEARNEY & TRECKER CORPORATION Method and apparatus for multilingual communications of computer-specified control messages

Also Published As

Publication number Publication date
GB8330357D0 (en) 1983-12-21
FR2536555A1 (en) 1984-05-25
FR2536555B1 (en) 1985-04-19

Similar Documents

Publication Publication Date Title
US4579533A (en) Method of teaching a subject including use of a dictionary and translator
US4367537A (en) Address retrieval in an electronic dictionary and language interpreter
US5960383A (en) Extraction of key sections from texts using automatic indexing techniques
US4785400A (en) Method for processing a data base
US5293616A (en) Method and apparatus for representing and interrogating an index in a digital memory
EP0054667A1 (en) Method of generating a list of expressions semantically related to an input linguistic expression
US7890851B1 (en) System for facilitating the preparation of a patent application
CA2078423A1 (en) Method and apparatus for supplementing significant portions of a document selected without document image decoding with retrieved information
ES8206059A1 (en) Method and system for automatically abstracting, storing and retrieving a document in machine readable form.
US4467446A (en) Electronically operated machine for learning foreign language vocabulary
US4792937A (en) Process for the management of files on a non-erasable information carrier
CN1110019C (en) Image processors
GB2130408A (en) Computer programmed for changing its natural language
GB2114407A (en) Methods and apparatus for use in arranging text
McAllister et al. A design for an online bibliographic database: The DOBIS-LIBIS database
JPH04232570A (en) Keyword retrieving method
Fayollat On‐line serials control system in a large biomedical library: 1) Description of the system
Warford Computer science
JPS62243067A (en) Image file device
Callow Producing an index to legal periodicals in the Foreign and Commonwealth Office library using Cardbox
JPS5916039A (en) Kana (japanese syllabary) to kanji (chinese character) conversion system
Hedberg ISBD (ER) and its role in the management of electronic resources
JPH0215911B2 (en)
KR920006874A (en) Recognition method of document with predetermined format
Johnston An Experimental On‐line Retrieval System using Ultrafiche

Legal Events

Date Code Title Description
WAP Application withdrawn, taken to be withdrawn or refused ** after publication under section 16(1)