Black Technology Research Center

Chapter 60 Starting to develop a voice assistant

During this period of time, Fang Yuan has made up the basic knowledge of programming language, including basic data structure, TCPIP protocol and basic grammar of database.

Fang Yuan had a certain understanding of this knowledge the last time he took a picture of the gourd and painted a scoop, and now he has not encountered any difficulties in learning.

This will not only be of great benefit to the future, but also of great help to him now. It can not only help him read the source code better, but also gain knowledge points when reading these books. Things.

In this way, Fang Yuan started working on both sides during the day and night. It took another month for Fang Yuan to basically learn the principles of the S language.

And you can use the S language for simple program development. Without the help of the system, he completed his first work-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. This time, Fang Yuan didn't want to understand everything as he did last time.

Compared to my own immature grammar, the source code on this development manual is more perfect than the textbook.

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

As long as you make a slight modification, it will destroy the structure of this artwork.

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

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.

Just do it, Fang Yuan took out the laptop that he had just purchased on October 1st. It cost Fang Yuan more than 20,000 yuan, which made Fang Yuan feel distressed for a while!

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

But the excellent performance makes many gamers pay for it.

The main reason Fang Yuan bought it was that the price was good and it was worthy of his own 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 very often, which boy thinks his laptop can be used when he has enough money?

He opened the notebook and Fang Yuan had built the S language development environment long ago. 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 the program.

According to the contents of the development manual, Fang Yuan completed the framework construction in only one day.

This work is equivalent to the foundation dug when building a house. A poor-quality foundation will affect the entire house. 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 will be enough for Fang Yuan to work for a while.

After the framework was built, Fang Yuan started to add functional modules to it.

This is the biggest part of the workload, and this time he has learned the lesson from the last time, no longer blindly seeking quickness, and completed the entire program design.

As long as 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 of the program.

Although this allows him to better understand the S language, it also slows down the overall progress of the project.

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

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

After studying for a period of time, Fang Yuan used this method to settle down and turn knowledge into his own foundation.

This is more conducive to your own growth, otherwise blindly pulling the seedlings to encourage you will cause yourself to be tripped by a stumbling block before you reach the peak, and you can only lie in place, quietly watching the peak in front of you, but never get there.

He doesn't want to be that kind of person, it's sadder 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, Fang Yuan is currently writing a special voice function.

The voice of 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 gentler, a little cute, and a little like a certain star.

Allow users to tune the voice of the voice assistant a little bit according to their own preferences.

Fang Yuan's deaf ears to things outside the window, his five roommates worrying about being only in programming.

Lin Mu took the lead at this time to stand up.

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

"what?"

"I don't want to fight, but the inspiration comes. I can't stop if I want to." Fang Yuan shrugged and pretended to be rounded.

"You! This Saturday our freshman has a networking party. Big brother helped us get tickets for our dormitory, let's go together!"

"Hmm..." Fang Yuan thought for a while. The term fraternity party is relatively new to him. He has never participated in such an event!

"Okay! Call me when you leave on Saturday. It just happened to be too tired recently. It's a rare opportunity to take a break," Fang Yuan replied.

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

Since enrollment, their dormitory hasn't been out as a group. It happened to take advantage of this opportunity to increase the relationship between roommates.

The most important thing is the networking party. For the networking party, there must be many beautiful women at the party. This is the important reason why their entire dormitory participates.

In other words, Fang Yuan's dormitory is really miserable. The students in other dormitories either had girlfriends in high school or found their favorites in college.

Where are they here?Six single dogs, in addition to the king of pesticides, eat chickens, and those who don’t know think that their mobile phones are their girlfriends.

By the way, there is another person who doesn't play games. Everyday he is facing the computer or the book.

Lin Mu was very worried about the status quo of the dormitory in the team. During a fetch of water, he heard people in other dormitories talking about gossip about the entire dormitory building.

"Hey! Have you heard that there is a native of Xijiang in 201, who can't speak Mandarin!"

"Really? How do they usually communicate?"

"What are you talking about! That Xijiang native doesn't play with other people in their dormitory at all!"

"That's right, the small shop opened in 106 was caught by the building manager yesterday. He usually has a good relationship with the aunt in the dormitory. Now it's okay. The building manager confiscated all their food. I heard that I remembered it once. Punishment!"

"After that, if we want to buy something, don't we have to go to the international student supermarket? This is too far!"

"Also, I heard that the dormitory of 333 is very wicked! Now six people stay in the dormitory every day for one day, and almost never go out!"

When Lin Mu heard them discussing the affairs of his dormitory, he immediately concentrated.

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

"Really? Let me just say, six big boys close the door every day, so..."

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

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

This time the friendship was also what he heard from the bedroom elder brother by chance.

It is a freshman activity organized by the Student Union. The main person in charge of this activity is the bedroom eldest brother.

Under the circumstances of his frustration, the eldest brother used his own relationship to obtain five tickets in the student union. As the organizer, he did not need tickets.

"Hey! I'm worrying about my life!" Lin Mu sighed while lying on the bed.

This group of roommates is really not worrying!

He also didn't want to think that he was also a single dog. Instead of worrying about others, he might as well worry about himself!