Chapter 60 Beginning the development of voice assistants

During this time, Fang Yuan made up the basic knowledge of programming languages, including the basics of data structures, TCP/IP protocols, and basic syntax of databases.

The last time he painted a scoop with a gourd, Fang Yuan had a certain understanding of this knowledge, and now he didn't encounter any difficulties in learning.

This is not only of great benefit to the future, but also to him now, which can not only help him read the source code better, but also gain knowledge points when reading these books, which can be said to be a multi-tasking thing.

Fang Yuan started work day and night like this, and in another month, Fang Yuan basically learned to understand the principle of the S language.

And he can use the S language for simple program development, and without the help of the system, he completed his first work - a fun calculator.

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

Once again, he took out the development manual of the intelligent voice assistant, and this time Fang Yuan didn't want to be like last time and couldn't understand anything.

Compared with his own immature grammar, the source code in this development manual is more perfect than that in the textbook.

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

If you make a slight alteration yourself, you will destroy the structure of this artwork.

Fang Yuan looked at it for a while, and found that there were still many places that he didn't understand very well, and there was a best way to understand these places.

That's practice, as long as you convert the source code into a real program, you can understand the meaning of the code during the debugging process.

Just do it, Fang Yuan took out the notebook of a certain star that he had just purchased at 1 o'clock in October, which cost Fang Yuan more than 20,000 yuan, which made Fang Yuan feel distressed for a while!

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

But the excellent performance makes many gamers pay for it.

The main reason why Fang Yuan bought it was that the price was good, and it could be worthy of his own value.

Of course, this is just a joke, in fact, the most important reason is its excellent performance, although Fang Yuan does not play games often, but what boy will feel that his laptop can be used when he has enough money in his hand?

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

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

According to the content of the development manual, Fangyuan completed the construction of the framework in only one day.

This work is equivalent to digging the foundation when building a house, and a bad quality foundation can affect the whole house, and it is the same 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 have been enough for Fang Yuan to work for a while.

After the framework was built, Fang Yuan began to burst his liver and add functional modules to it.

This is the biggest part of the workload, and this time he learned the lesson of the last time, no longer blindly seeking speed, and completing the design of the entire program.

As long as he encounters something he doesn't understand, Fang Yuan will stop, debug the program over and over again, and deepen his understanding of the S language through the output results of the program.

While this allowed him to learn more about 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 the process is not overnight, it takes time.

Therefore, most companies will have a period of internship to provide a buffer period for new employees.

After a period of study, Fang Yuan used this way to settle down and turn knowledge into his own heritage.

This is more conducive to one's own growth, otherwise blindly pulling out the seedlings to help them grow will make them trip over stumbling blocks before standing at the peak, and they can only lie in place, quietly looking at the peak in front of them, but they will never be able to get there.

He didn't want to be like that, and that was sadder than someone who would never see the top.

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

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

The voice assistant can be adjusted according to the user's preference.

And for the user's operation, in the original tone, the user can make her a little gentle, a little cute, like a certain star.

Allows users to tweak the voice assistant's voice little by little to their liking.

Fang Yuan didn't listen to anything outside the window, and only focused on programming, which made his five roommates very worried.

Lin Mu was the first to stand up at this time.

"Ah Yuan, this is just a freshman, let's not fight like this!" While Fang Yuan was eating lunch, Lin Mu sat opposite Fang Yuan and said helplessly.

"Huh?"

"I didn't want to fight, but the inspiration came, and I couldn't stop if I wanted to. Fang Yuan shrugged his shoulders and pretended to be roundabout.

"You, our freshmen have a party this Saturday, and my eldest brother helped us get tickets for our dormitory, let's go together!"

"Hmm......" Fang Yuan thought for a while, the word sorority party was relatively new to him, had he never participated in such an event!

"Okay, call me when you leave on Saturday, it just so happens that I've been too tired lately, it's rare to have such an opportunity, so I should take a break," Fang Yuan replied.

"Okay, then it's decided!" Lin Mu was still very happy when he saw Fang Yuan agree.

Since the beginning of the school, they have not gone out to the dormitory together, so it is a good opportunity to enhance the relationship between roommates.

The most important thing is the sorority party, the sorority party, there will be a lot of beauties at the party, which is an important reason why their entire dormitory goes to participate.

In other words, Fang Yuan's dormitory is really miserable, and the students in other dormitories either had a girlfriend in high school, or found their favorite object in college.

Six single dogs, in addition to the king pesticide, eat chicken, and those who don't know think that the mobile phone is their girlfriend.

By the way, there is another one who doesn't play games, and every day he is either facing the computer or facing the book.

Lin Mu was very worried about the current situation of the dormitory in the team, and during a fetch of water, he heard people from other dormitories gossiping about the entire dormitory building.

"Hey, have you heard, there is a person from Western Xinjiang in 201, who can't speak Mandarin!"

"Really, how do they usually communicate?"

"What a communication! That Xijiang doesn't even play with the rest of their dorm room!"

"That's right, that's right, the small shop opened by 106 was caught by the building manager yesterday, and he usually has a good relationship with the aunt in the bedroom, but now it's okay, the building manager confiscated all their food, and I heard that he also recorded a punishment!"

"Then if we want to buy something in the future, we have to go to the supermarket for international students, it's too far!"

"Also, I heard that the dormitory in 333 is very evil! Now the six of them stay in the dormitory every day for a day, and they hardly go out!"

Lin Mu heard them discussing the affairs of his bedroom, and his energy suddenly focused.

"Isn't it, I heard that they all like men in their dormitories, and none of them have girlfriends!"

"Really, I'll just say, six big boys close the door every day, and it turns out that ......."

Hearing this, Lin Mu didn't want to hear what he said about his bedroom later.

Since then, Lin Mu has always consciously opened the door of the dormitory, and actively urged his roommate to put the matter of finding a girlfriend on the agenda.

This friendship was also something he heard from the eldest brother in the dormitory by chance.

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

Under his soft grinding, the eldest brother used his connections to get five tickets in the student union, and as the organizer, he didn't need tickets.

"Hey, I'm worried about my life!" Lin Mu said as he lay on the bed and sighed.

These roommates are really worry-free!

He didn't want to think about it at this time, he was also a single dog, and instead of worrying about others, he should worry about himself!