Artificial Intelligence Machine Translation Based on Fuzzy Algorithm

In order to study machine translation more in-depth, it is particularly important for the research of artificial intelligence with fuzzy algorithms to convert an unfamiliar language into a mature language. ,e neural network translation model has been developed in recent years and has achieved rich research results. Aiming at the current lack of accuracy of neural machine translation (NMT), which may cause ambiguity, this paper takes English machine translation as an example and proposes an artificial intelligence machine translation optimization model based on fuzzy theory. On the basis of NMTmodel translation, first the semantics of English machine translation is classified, a semantic selection model is built, then the analytic hierarchy process is used to determine the semantic order of Englishmachine translation, and the corresponding fault-tolerant operation is carried out to the error-prone errors, weight the semantics, and introduce the fuzzy theory to arrange the English semantics of English machine translation. Finally, the performance of the model is analyzed through specific application experiments.,e results show that the accuracy of the machine translation selection permutation model is improved by nearly 4.5% and can reach more than 90% compared with other models, and the timeliness is better than other models, which is improved by nearly 15%, which has obvious advantages.


Introduction
Machine translation is one of the commonly used services on the Internet, and it is also an important research field in language processing and artificial intelligence. Such as Google Translator, Baidu Translator, Microsoft Bing Translator, etc., all provide online translation services between multiple languages. Although there is still a large gap between the quality of machine translations and professional translators, in some scenarios where the quality of translations is not high, or in the task of translation in a specific field, machine translation has a clear advantage in translation speed and still it is widely used.
At present, there are some urgent problems in NMT. NMT is facing a more severe problem of translation of unregistered words and long sentences. erefore, achieving the unlimited dictionary size or being able to efficiently deal with the problem of unregistered words and also being able to effectively translate longer sentences are the basic problems that NMTneeds to solve. Aiming at the problem of attention mechanism, from the perspective of semantic ordering, a semantic ordering model based on fuzzy theory is proposed to address the problems of poor accuracy and ambiguity of current English machine translation.
Early perceptrons, due to their simple structure, were unable to handle linear inseparable problems, which led to a long period of low tide in this study. After the 1980s, backpropagation (BP) was introduced to multilayer perceptron (MLP), also called feed forward neural network (FNN). Since then, with the promotion of some related researchers, neural networks have regained attention. In 2006, Hinton et al. solved the problem of neural network training through the layer-by-layer pretraining method. Later, due to the increase in computing power, neural networks have received widespread attention from academia and industry. Results: Sennrich et al.'s team [1] studied the use of monolingual data in NMT in order to improve the fluency of phrase-based statistical machine translation. Hill et al.'s team [2] made the first comprehensive analysis of word embedding attributes learned by a bilingual texttrained NMT model. e word notation is better than established algorithms such as skip-gram and CBOW. Su et al.'s team [3] believes that although NMT has made great progress, learning the best model parameters for long parallel sentences and making full use of different contexts can make NMT more accurate. Shaimaa Marzouk's and Hansen-Schirra's team [4] studied the application of controlled language (CL) not only as an effective pre-editing technique for improving the output of machine translation (MT) but also for NMT.
In this article, from the perspective of semantic ordering, the accuracy of NMT is poor, which may cause ambiguity and other issues. is article proposes an English semantic ordering model based on fuzzy theory. For different English semantics, the ordering is based on its characteristics. e proposed model is validated. Data are often organized through patterns. Access is also obtained through the action mode. e accurate ordering of semantics helps to better understand complex concepts which is of great significance.

NMT Model.
During the modeling process, Calci Brunner and Brunsham reproposed a neural network-based translation method, showing great application potential [5,6]. en, the researchers constructed a machine translation model based on the neural network [7,8]. In many rule-based machine translation systems, linguists assist in writing a series of grammatical rules about the source language and target language, as well as the conversion rules for converting source language data into target language data. However, it is very expensive, time-consuming, and error-prone to produce these rules using all manual labor. One solution is to use past historical translation results as a resource library, where the source language text and its corresponding target language translation are used as examples and try to extract appropriate rules from it. One of the methods is to manually mark the source text and the target language translation to show the association. Sato language and Nagao developed a system that uses a "plane dependency tree" to represent source and target language characters. is relational tree data structure is a form of efficient computer recognition. Two levels are usually used to represent the relationship between the source language and the target language: the first-level depends on the surface form of the text (such as the order of characters and words), which is used for the analysis of the source language and the generation of the target language; the second level depends on the semantic association between words which is used for the conversion from the source language to the target language.
is kind of machine translation system takes advantage of the case base on the basis of rule-based machine translation. ey can be used for machine translation and other natural language processing tasks [9,10]. e Google translation model is shown in Figure 1. e model inputs A, B, and C sequentially generate outputs W, X, Y, and Z under the input conditions, where <EOS> is the artificial end of sentence. e other is called the encoder-decoder model, as shown in Figure 2.
e encoder-decoder [11] model consists of three parts: input x, hidden state h, and output y. e encoder reads the input x � (x 1 , x 2 , . . . , x I ) and encodes it as a hidden state h � (h 1 , h 2 , . . . , h I ). When using a recurrent neural network (RNN), where c is the source language sentence representation, and f and q are nonlinear functions.
where y � (y 1 , y 2 , . . . , y T ). When using a recurrent neural network, where θ is the parameter of the model and (x n , y n ) is a twosentence pair.

Neural Network.
A neural network (MPL) is composed of many neurons [12,13]. One neuron passes the inner product of the vector and weight vector input to the next neuron through a nonlinear transfer function [14,15]. Neurons here can also be called perceptrons, which are the basic building blocks of neural networks. Figure 3 shows the basic structure of a neuron in a neural network [16,17]. a 1 , a 2 , and a 3 represent the inputs, and f is a nonlinear activation function that passes the resulting z to the next neuron [18,19]. e perceptron can implement simple binary classification problems and can also fit linear functions. Any linear classification or linear regression problem can be used to solve it. e neural network can not only implement the above functions but also achieve more complex problems such as multiclassification and clustering. As the number of network layers increases, the number of hidden layers increases. e number of nodes (neurons) in the hidden layer does not have a fixed number, but as the number increases, the nonlinearity of the neural network will become more significant, and the robustness of the neural network will be stronger. When designing a network, the number of nodes is usually controlled to be 1.2 to 1.5 times the number of input nodes. A neural network with a hidden layer greater than one layer is called a deep neural network. A deep neural network can extract deeper features of an image, which is the main reason why the classification effect is higher than other methods [20]. Figure 4 shows the structure of a two-layer neural network.
e input of the neural network is represented by x 1 , x 2 , and x 3 , the output z, the weight w, and the deviation of each layer is b, and the expression of z is related to the hidden layer of the intermediate layer, that is, e value of the hidden layer is related to the input value of the previous layer. Assume that the bias of the input layer is b (1) 1 and the bias of the hidden layer is b (2) 1 , and each neuron a (2) i can be expressed as Among them, i � 1, 2, 3, so the output z of this neural network can be expressed as which is

Recurrent Neural Network.
NMT is mostly implemented by recurrent neural networks as shown in Figure 5.
e input x is mapped to the output o through a recurrent neural network. Target sequence y, loss function L, weight matrix U, W, and V. e range of the time series T is [1, T].
e recurrent neural network makes the input sequences of different lengths have the same input vector dimension.

Semantic Ordering Model Based on Fuzzy eory 2.3.1. Overview of Semantic Classification.
e model can use semantics according to its performance and can be accurately divided into hierarchical semantics and interleaved semantics [21].
When B i−1 � 1 + A i , the semantics of the English to be reordered are homogeneous, and the front-end data of A i is Figure 1: End-to-end model.

Decoder
Encoder … … y T y 2 y 1 Figure 2: Encoder-decoder model. x 1 z Figure 4: e basic structure of a two-layer neural network.

Mobile Information Systems 3
replaced by the symbol A i−1 ; when A i−1 � 1 + B i , the semantics of the reordering are progressive; to-be-sequenced semantics are neither homogeneous nor progressive, so they are treated as interval semantics [22,23].

Calculation of Semantic Optimal Similarity.
When performing English semantic sorting, it is necessary to consider the sorting structure problems in two different directions [24][25][26]. Hierarchical English semantics uses differences in two different directions to perform semantic sorting. Figure 5 shows the hierarchical semantic sorting model process. Figure 6 shows the interleaved semantic sorting model. e sequence structure is interrupted to prevent similar semantic sequence errors during the sorting process. en perform sequencing, perform a second diagnosis on the sequencing results, and then output the results.
Assume that L 1 is any semantic in the ordering semantics and L 2 is the fuzzy correspondence result of L 1 [27,28]. It can be obtained that the similarity between L 2 and L 1 is Use the weighted analytic method to describe formula (11), and its expression is as follows: where δ represents the weight, s 1 and s 2 represent different data in the running process, L 1 and L 2 represents the semantics in the running process, and 4 i�1 δ � 1. e weighted analytic hierarchy process is carried out 4 times, which is the description of the independent relationship between L 1 and L 2 .

Experimental Data Set.
e research in this subject uses Chinese-English bilingual corpus pairs as the data set, but since there is no large-scale Chinese-English bilingual subtitle public data set, the existing scattered data set is only tens of thousands, which is far from satisfying deep learning. For data set size requirements, experimental data needs to be obtained by yourself. e resources of individual subtitle groups are relatively authoritative in the same type of website, the resources are updated in a timely manner, and the data size is large. erefore, this topic uses the subtitle website as the source of the data set. On the subtitles website, you can browse the subtitles uploaded and posted every day at the subtitle downloading site. ese subtitles include subtitles in different languages, different formats, and different sources.
Generally, the links of the subtitle compression package are on the movie subtitle web page. erefore, to obtain the subtitle compression package through a crawler, you must first obtain the link of each movie subtitle web page on the subtitle download page and then find the download link of the subtitle compression package. In order to extract these two types of positioning information, it is necessary to review web page elements, locate the location of links, and then gradually filter based on the hierarchical structure of the links. If there is a higher demand, deeper filtering of the content is required through pattern matching and other methods. After getting the download link, get the link content through the crawler and finally get a total of 36,000 effective subtitle compression packages.
Since the uploaded subtitle compression package not only includes the subtitle group itself but also some other sources, such as reprinted from other subtitle groups, these subtitles are not uniformly regulated and strictly restricted, and the structure of the compression package is also different. Some subtitle files are under first-level compression packages, but some subtitle files exist under deeper subtitle compression packages. e general extraction processing method cannot extract the subtitle files in the deep compression package. erefore, in order to fully obtain the data resources, we first extract the compressed package file recursive structure under the compression package based on the subtitle compression package we have obtained. Here, there are 4,000 new compression packages extracted through iteration, and a total of 40,000 compression packages as shown in Table 1.

Experimental Environment.
is project is based on eano, a deep learning framework for experiments. eano has a large number of convenient optimization libraries. It is based on an efficient multidimensional array and makes full use of the GPU to perform operations, which can greatly improve the operation efficiency. e specific configuration of the experimental platform is shown in Table 2.

Parameter Optimization.
When the sample set size is small, the gradient can be obtained by calculating the error of all samples in each iteration. e gradient value obtained in this way is better globally. However, if the size of the sample set exceeds a certain range, due to memory limitations, etc., it is unrealistic to calculate the error of all samples at a time. However, each time only the error of a single sample is calculated for further gradient correction, due to the difference of each sample, a mutually canceling effect may be formed, which results in the phenomenon of oscillating the results back and forth and cannot converge. erefore, using the batch method to select a suitable size can not only effectively improve the memory utilization through the parallelization of matrix multiplication but also speed up the processing speed. Within a certain limit, as the batch size increases, the globality of gradient optimization becomes better and better, and the possibility of gradient nonconvergence also becomes lower and lower.

Semantic Reordering Time Analysis.
In order to verify the superiority of the improved model proposed in this paper in semantic ordering, this paper uses the neural network method, machine learning method, and comparative verification analysis with the improved model as shown in Figure 7.
From Figure 7, the model in this paper has the highest ranking performance, followed by machine learning methods. With the passage of time, when using this model for semantic sorting, the time-consuming semantic sorting is the least. e comparison of the average timeliness of the three models is shown in Table 3.
e results show that the machine translation selection permutation model is better than other models in terms of timeliness, which is nearly 15% higher. Figure 8 shows the average timeliness of the three models.
According to the data in Table 4 and Figure 8, we can look at the comparison of the translation time of the three models. Among them, the neural network model takes 13.55 s, the cluster learning model takes 8.56 s, and the time required in this article is 5.58 s. According to the comparison of time, the neural network takes time e longest, the learning model is the second, and the time spent in this research is the shortest, indicating that the content of this research is practical.
Although we have conducted many experiments to test the translation model system, the experimental results are contingent and sudden and cannot well represent the search engines' ability to retrieve legal provisions. erefore, the experimental conclusions obtained are contingent and cannot think it is an authoritative conclusion. Figure 9 shows the experimental results of semantic sorting. It can be seen from Figure 8 that, except for the model in this paper, none of the other models can effectively optimize the semantics of English. Table 5 shows the comparison of the average correctness of the three models. e results show that the machine translation selection permutation model is better than other models in terms of timeliness, an increase of nearly 4%, and can reach over 90%, which has obvious advantages. Figure 10 shows the average sequencing correctness rate of the three models.

Accuracy Analysis of Semantic Ordering.
According to the data from Figure 10, you can clearly see the comparison of the accuracy of the three translation models. e accuracy of the neural network model is 0.655, and the accuracy of the machine learning model is 0.786.    Mobile Information Systems is article explores that the accuracy of the translation model is as high as 0.854. e accuracy rate of the translation model studied in this article is far ahead, and the accuracy rate of the neural network model is the lowest. According to data comparison, the translation model studied in this article is desirable in terms of time-consumption and accuracy.

Conclusion
As an efficient language conversion tool, machine translation can perform equivalent conversion of different languages. It has great practical significance. e development of deep learning-related technologies has also improved machine translation methods and performance. Machine translation has undergone a development process from rule-based to statistics-based to neural network-based. Statistical machine translation replaces artificially formulated rules with a datadriven model to solve the problem of bottlenecks in acquiring translation knowledge. e end-to-end model structure of NMT and the use of neural networks have simplified the entire process of translation, solving problems such as the          difficulty of designing original features and the use of nonlocal contextual information. e main content of this paper is to address the current problems of English machine translation, and propose a fuzzy theory of English machine translation semantic ordering model. NMT is to build an end-to-end neural network model framework to cover the entire translation process, to achieve end-to-end machine translation. Neural networks are used to construct the encoder and decoder parts, respectively. Source and target language sequences: this paper adds the function of semantic ordering on the basis of NMT, which can further improve the accuracy of translation.
Finally, through comparative experiments with machine learning neural networks, it is found that using this model for English semantic ordering has better accuracy and timeconsumption than the traditional English semantic ordering model, which has certain advantages. However, the relevant theories and techniques of fuzzy translation have not formed a systematic and complete research theory among experts and scholars. It appears to be too fragmented. It is still in the initial stage and requires in-depth exploration to solve the cost and time in practical applications and technology and other related issues.

Data Availability
No data were used to support this study.

Conflicts of Interest
e author declares no conflicts of interest.