Riding the wind of rebirth

Chapter 747 Computer Language

Chapter 747 Computer Language
"Manual intervention may still be required, but the work intensity has been greatly reduced. We can scan the pictures of rare characters into the computer by taking pictures, scanning, etc., let the program analyze them, and finally get the standard dot matrix characters, which are added to the computer after coding. In the font library, expand the font library."

"To realize this function, there are several prerequisites. The first is that there must be enough samples in the font library. We have already completed this, because we now have [-] standard dot-matrix scripts."

"Still taking the "Kangxi Dictionary" as an example, we first scan the scanned image of each word in the "Kangxi Dictionary" into the text recognition system, then extract its font parameter characteristics, and then assign these parameters to the existing standard dot matrix characters , let the system calculate the 'system word' generated according to these parameters."

"Then take these generated 'system words' and verify them with the 'scanned words', and verify the representativeness of the parameters through the 'system words' generated from [-] standard words, and finally adjust the parameters to the best."

"After obtaining the parameter system, we can put it on the scanned new characters, and finally get the standard dot matrix characters of nearly [-] characters in the "Kangxi Dictionary", and the font library has expanded from [-] to [-]."

"This idea is novel, but it is also feasible." Mai Mingchuan nodded: "However, there are still problems, that is, storage and calculation."

"I also take the "Kangxi Dictionary" as an example. There are nearly 300 words, which means nearly [-] pictures. Let's take a picture of [-] megabytes to calculate, which is [-]G of space, which is too scary."

"Then Dean Wang thinks, how much image storage capacity of this system is acceptable?"

"One G," Mai Mingchuan blurted out, after thinking about it, he felt that he was a little bully: "At most, two G."

1G is 1024M, two hundred pictures of 5M, two G is 400 pictures.

"That is to say, according to this standard, this system can simultaneously complete the work of scanning and analyzing [-] characters and putting them into storage at the same time?"

"That still counts as serial and parallel." Li Hongjiang has already started to think about the working method of the program: "It involves time cost, and it is impossible for the school to use all the limited computing resources to do this."

"Then can we ask our superiors for help?" Zhou Zhi asked, "We should do the basic work well first, and then apply for national-level computing resources to complete it. Is there any chance?"

"National resources are even tighter, and countless units across the country are queuing up." Mai Mingchuan shook his head with a wry smile.

Mr. Gu said: "Then let's do this. Let's make the work a little more detailed. Let's slow down the program of character recognition and reverse calculation of dot matrix characters that Elbow said. The first step is to concentrate on setting the standard."

"At the same time, on our side, we will expand the current [-]-character manuscript to [-]."

"Xiao Li, hurry up and develop a program for reading manuscripts first, and let's complete the digitization of the [-]-character manuscript first."

"Afterwards, we will use the digital achievements of the [-] Chinese characters to negotiate with the Unicode Alliance, and we must leave enough space for further expansion in the next step, and strive to make our large character library a global unified standard."

"With this large font library, let's develop several subsets to meet the needs of different application scenarios at home and abroad. Is our first step completed at this point?"

"As for the text recognition that Elbow said, that's also very important." Gu Zhenduo added: "This is an artifact for us to digitize ancient books in the next step!"

Gu Lao couldn't help but sighed: "Isn't it because the resources are limited, so I'm afraid I won't be able to make it?"

"That's not necessarily the case." Zhou Zhi said, "We can put all these ideas on the table. We're asking prices like crazy, and we're waiting for the ministries to pay back the money. What's the best, what's the best!"

The bosses all burst into laughter, this guy knows ministries and committees, it is almost impossible for people not to hold you back, and to meet your requirements [-]%, if they can meet [-]% of you, it is all a favor.

So you might as well make the pancake bigger, even if you cut it in half, a small pancake is almost enough to eat.

Today is just a retreat, which is to unify the thinking and study the possibility of interdisciplinary cooperation in arts and sciences. Now that we can get a relatively unified opinion, it has exceeded the expectations of the meeting.

The main credit here is Zhou Zhi's completed preliminary work.

Li Hongjiang held Zhou Zhi's hand, and said eagerly, "Do you want to take another degree in information engineering? I think that although you are a liberal arts student, you have such a good foundation in information technology, so it's not a problem to take another degree. "

"Energy is too limited." Zhou Zhi could only decline Li Hongjiang's kindness: "But I am very interested in the character recognition system. If Professor Li is interested, I can also participate in the research."

"Are you familiar with programming? BASIC or PASCAL." Until now, Li Kaijiang never believes that Zhou Zhi is a layman.

"I'm more familiar with C language." Zhou Zhi recalled the fear of being dominated by code.

"C?" Li Hongjiang felt as if he had found a treasure: "What about UNIX?"

"UNIX is also okay." Zhou Zhi asked, "Is there a newly introduced minicomputer in school? The one that can run ANSI C?"

For most people, the dialogue between the two is like a bible.

The most basic computer language is of course the instruction set that directly operates on the chip. For example, the earliest punched paper tape is directly a combination of zeros and ones.

This language is the most straightforward for computers, but the least friendly for humans.

So people invented a chip-based "basic instruction set", which is assembly language.

Assembly language is also aimed at chips, but at least it allows professionals to understand what the program is for the machine to do.

But there is a problem with assembly language, that is, it cannot be transplanted, because it is developed for a certain type of chip, and if it is switched to another type of chip, the other type of chip cannot understand it.

So humans came up with another way to design the concept of compiled libraries and higher-level programs. This is a process-oriented programming language, and C language is one of the best.

C language is difficult because it has the characteristics of simplicity and efficiency of assembly language, so it works quickly, the code is compact, and the readability is better than assembly language. The most important thing is that it is easy to debug, modify and transplant.

Programmers are only responsible for writing code. After the code is compiled, it can be converted into binary code that can be read by the computer, called "application program".

For different chip types, there are different compilation methods in the compilation library, which can compile programs written in C language into programs that can run on different systems.

This solves the problem of program transplantation, so that the same program can be used in the DOS system, the Apple system, and the UNIX system, without having to write three sets of programs separately.

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like