Black Technology Research Center

#60 - Start developing a voice assistant

During this period, Fang Yuan had been cramming the basic knowledge of programming languages, including the basics of data structures, TCP/IP protocols, and the basic syntax of databases.

The last time he imitated others, Fang Yuan had a certain understanding of this knowledge, so he didn't encounter any difficulties in learning it now.

This is not only of great benefit to the future, but also of great help to him now, as it can help him better read the source code and gain knowledge points when reading these books. It can be said that it is a win-win situation.

Fang Yuan spent another month working day and night, and basically learned and understood the principles of the S language.

And he can use the S language to carry out simple program development. Without the help of the system, he completed his first work - a fun calculator.

Although it is a very simple program, it is a significant breakthrough for Fang Yuan.

Taking out the development manual of the intelligent voice assistant again, this time Fang Yuan didn't feel like he couldn't understand anything like last time.

Compared to his immature grammar, the source code in this development manual is more perfect than the textbooks.

Even a rookie like Fang Yuan thinks this source code is a work of art, and a perfect work of art.

As long as he modifies it slightly, it will destroy the structure of this work of art.

Fang Yuan watched for a while and found that there were still many places he didn't understand very well. There is a best way to understand these places.

That is practice. As long as these source codes are converted into real programs, the meaning of these codes can be understood during the debugging process.

Without further ado, Fang Yuan took out the Mou Xingren notebook he had just bought during the National Day holiday, which cost Fang Yuan more than 20,000 yuan, making Fang Yuan feel distressed for a while!

Although compared with those thin and light notebooks, this notebook is inconspicuous in terms of appearance and weight, and can even be said to be bulky and ugly.

But its excellent performance makes many game players pay for it.

The main reason Fang Yuan bought it was because of its good price, which could match his worth.

Of course, this is just a joke. In fact, the most important reason is its excellent performance. Although Fang Yuan doesn't play games often, which boy would think that his notebook is powerful enough when he has enough money in his hand?

He opened the notebook, and the development environment of the S language had already been set up by Fang Yuan. Now he only needs to convert the source code given in the development manual into the corresponding program.

First, complete the construction of the program framework. Don't underestimate this step. A mature framework is very important for a program.

According to the content of the development manual, Fang Yuan spent only one day to complete the construction of the framework.

This work is equivalent to digging the foundation when building a house. A foundation with poor quality will affect the entire house, and the same is true here.

Fortunately, the source code in the development manual covers all the modules in the development process, otherwise, just thinking about the structure of the overall framework would be enough for Fang Yuan to work for a while.

With the framework built, Fang Yuan began to add functional modules to it like crazy.

This is the most workload-intensive part, and this time he learned from the previous lesson and no longer blindly pursued speed, completing the entire program design in a superficial manner.

Whenever he encountered something he didn't understand, Fang Yuan would stop, debug the program over and over again, and deepen his understanding of the S language through the output results of the program.

Although doing so can make him more familiar with the S language, it also slowed down the overall progress of the project.

Now he is like a new intern in the company, trying his best to integrate into the company, but this process is not achieved overnight, it takes time.

Therefore, general companies will have a period of internship to provide a buffer period for newly hired employees.

After the previous period of study, Fang Yuan used this method to let himself settle down and transform knowledge into his own foundation.

This is more conducive to his own growth, otherwise, blindly forcing growth will trip him before he reaches the peak, and he can only lie in place, quietly watching the peak in front of him, but never being able to reach it.

He doesn't want to be that kind of person, which is more tragic than those who never see the peak.

The intelligent voice assistant contains most of the functional modules that may be encountered in program development.

For example, the special voice function that Fang Yuan is writing now.

You can adjust the voice of the voice assistant according to the user's preferences.

And in order to facilitate user operation, on the original pitch, users can make her gentler, cuter, or more like a certain star.

Let users adjust the voice of the voice assistant bit by bit according to their preferences.

Fang Yuan's state of not hearing anything outside the window and focusing only on programming made his five roommates very worried.

Lin Mu stood up first at this time.

"A Yuan, we just started college, we don't need to work so hard!" Taking advantage of Fang Yuan's lunch, Lin Mu sat opposite Fang Yuan and said with a helpless expression.

"Ah?"

"I don't want to work hard, but inspiration comes, and I can't stop even if I want to."

Fang Yuan shrugged and pretended to be profound.

"You! We freshmen have a social party this Saturday. The eldest brother helped our dormitory get tickets. Let's go together!"

"Um..." Fang Yuan thought for a while. The word social party was relatively new to him. He had never participated in such an event!

"Okay! Call me when you leave on Saturday. I've been too tired recently. It's a rare opportunity, so let's take a break." Fang Yuan replied.

"Okay, it's settled then!" Lin Mu was very happy to see Fang Yuan agreed.

Since the start of school, their dormitory hasn't gone out together. It's a good opportunity to enhance the relationship between roommates.

The most important thing is the social party. There must be many beautiful women at the party. This is the main reason why their entire dormitory is going to participate.

Speaking of which, Fang Yuan's dormitory is really miserable. The students in other dormitories either had girlfriends in high school or found their favorite objects in college.

What about them? Six single dogs, except for Honor of Kings, they are eating chicken all day long. People who don't know think that mobile phones are their girlfriends.

By the way, there is also one who doesn't play games, and is either facing the computer or facing books all day long.

Lin Mu was very worried about the current situation of the dormitory team. Once on the way to fetch water, he heard people from other dormitories talking about the gossip of the entire dormitory building.

"Hey! Have you heard? There is a Xinjiang person in 201 who can't even speak Mandarin!"

"Really? How do they communicate usually?"

"Communicate what! That Xinjiang person doesn't play with other people in their dormitory at all!"

"By the way, the small shop opened by 106 was caught by the building manager yesterday. Usually relying on a good relationship with the dormitory aunt, now it's all right. The building manager confiscated their food, and I heard that they also received a demerit!"

"In the future, won't we have to walk to the international student supermarket to buy something? That's too far!"

"Also, I heard that the dormitory of 333 is very evil! Now six people stay in the dormitory all day long, and hardly ever go out!"

Lin Mu heard them discussing the affairs of his dormitory, and his energy was immediately concentrated.

"That's right, I heard that they all like men in their dormitory, and none of them have girlfriends!"

"Really? I just said, six big boys close the door all day long, it turns out..."

Hearing this, Lin Mu didn't want to hear what they were saying about his dormitory later.

Since then, Lin Mu has always consciously opened the door of the dormitory, and actively urged his roommates to put finding girlfriends on the agenda.

This time's social event was also mentioned by the dormitory eldest brother when he heard it by chance.

It is a freshman activity organized by the student union, and the main person in charge of this activity is the dormitory eldest brother.

Under his constant persuasion, the eldest brother used his relationship to get five tickets from the student union. As the organizer, he doesn't need tickets.

"Hey! I'm such a worrisome person!" Lin Mu sighed while lying on the bed.

These roommates really don't let people worry!

He doesn't want to think at this time that he is also a single dog. Instead of worrying about others, it is better to worry about himself!

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

You'll Also Like