# English Writing Correction Based on Intelligent Text Semantic Analysis

Authors: Shuang Yang
Journal: Advances in Multimedia
 (2022)

---

## Abstract

In order to improve the teaching effect of English writing, this paper combines the intelligent text semantic analysis algorithm to construct an English writing correction model. Moreover, this paper deduces the relationship formula between the range of English semantic information cloud drop and the evaluation word through the contribution of cloud drop group to qualitative concepts, the association between cloud drop central area and evaluation words, and the relationship between cloud drop ring area and evaluation word. In addition, this paper uses the word selection probability results obtained from the preference evaluation. The simulation results show that the English writing correction model based on intelligent text semantic analysis proposed in this paper can play an important role in the intelligent teaching of English writing.


---

## Body

## 1. Introduction

In people’s daily life and study, English, the international common language, has communicative functions unmatched by other languages. It is not only a language tool but also a carrier that connects individuals and the world, and plays a pivotal role in international exchanges. In addition to oral communication, written expression also occupies half of people’s communication [1]. With the development of foreign language teaching, in recent decades, English writing teaching has also attracted the attention of many experts, scholars, and educators, and cultivating students’ writing ability has become one of the tasks of English teaching. The reason is that writing, an important language output skill, not only tests the students’ language organization ability [2] but also is an important embodiment of the students’ cognitive ability, thinking ability, and logical reasoning ability. Moreover, it can reflect their real English level to a large extent and plays an important role in English teaching, language training, and language evaluation [3].Writing is an integral part of English teaching. There are many factors that affect students’ writing, such as the students’ familiarity with the topic, the students’ internal knowledge reserves, and the way of propositions in the composition. Among them, the teacher’s feedback will also have a certain impact on the students’ writing effect. The way the feedback is presented, the clarity of the feedback, and the focus of the feedback affect the effect of the feedback to a certain extent. At this stage, in English teaching in my country, many teachers focus on the analysis of sentence structure, the cohesion of paragraphs, and the correction of language, that is, the accuracy and complexity of students’ writing, but the important metric of fluency is overlooked. Since most of the writing is completed by students within the specified location and time, students must first ensure that they can complete the writing task completely and smoothly within a limited time, and second, try to use accurate words and beautiful and vivid language. Therefore, teachers’ feedback should not only be limited to correcting students’ wording and sentence layout and planning but also help students to successfully complete their writing, fully express their feelings and thoughts so that the writing is smooth and the structure is complete. Helping teachers to find the correct way to provide feedback has important practical significance for improving students’ language expression ability. In the short term, the primary task faced by students is the high school entrance examination, and writing accounts for 20% of the questions in the high school entrance examination. It can be said that winning writing is a necessary condition for obtaining good English high school entrance examination results, and English is the main subject. It is one of the main forces of the entire high school entrance examination results. To a certain extent, a candidate’s English score can greatly affect whether he can enter the school of his dreams. From a long-term perspective, writing has long been an important manifestation of people’s ability to comprehensively use language and a necessary skill for study and life, and cultivating students’ writing ability can not only help them build a bridge to communicate with the outside world but also help them in their future work and work. Development also helps a lot.This paper combines the intelligent text semantic analysis algorithm to construct an English writing correction model to improve the teaching effect of English writing in modern English teaching.


## 2. Related Work

Literature [4] believes that corrective feedback is not only unhelpful but also has a negative impact on learners’ writing, and should be rejected, because this teaching method occupies the time and energy that should be spent on other more beneficial writing teaching steps. This view has aroused strong controversy in the academic circles, and many scholars have become interested in this field and are competing to put forward their own views. Literature [5] insists that written grammar error correction is not only effective but also the needs of learners. Literature [6] carried out a series of empirical studies, and the results proved that corrective feedback helps to improve the accuracy of students’ written language form. Literature [7] pointed out that the combination of writing teaching and written corrective feedback can attract students’ attention to the language form in writing, which in turn contributes to second language learning. The basis of the opposition’s claim that written corrective feedback is ineffective is that they believe that any teaching method is more important to its impact on the long-term learning effect of learners. Writing teaching aims to cultivate learners’ writing ability, which is not done overnight [8]. Literature [8] proposes that because language ability is tacit knowledge, and according to the relevant theories of second language acquisition, explicit knowledge cannot be transformed into tacit knowledge, so corrective feedback that can only provide explicit knowledge must be invalid. Even if it works, that is only a “short-term effect” of helping to revise an error-corrected composition or writing accuracy. Even if empirical research proves that corrective feedback contributes to the development of learners’ long-term writing skills, it is because of the diachronic experimental process. The literature [9] regards the “input hypothesis” and the explicit-tacit knowledge “no interface hypothesis” as axioms that do not need to be proved. However, directly citing existing second language acquisition theories to deny written corrective feedback seems overly assertive, because the development of interlanguage is a complex and delicate process. Therefore, if future research can more fully demonstrate that explicit knowledge can be internalized into tacit knowledge, thereby contributing to language acquisition, it can truly prove that feedback is effective as a teaching tool. In fact, there is a growing body of research, showing that written corrective feedback has a positive effect on second language writing. The research in the literature [10] proved that corrective feedback helps to improve the accuracy of learners’ written grammatical expression, but since there is no control group in these experiments, it is impossible to attribute the conclusions to the feedback intervention. After learning from the defects and lessons of the previous experimental design, subsequent scholars began to add the control group as a control. The results of the literature [11] showed that after receiving feedback intervention, the error rate of the experimental group was significantly lower than that of the control group. Some studies also showed that, after a few weeks of the feedback intervention, the error rate of the experimental group was still lower than that of the control group, indicating that written corrective feedback had a positive effect on the accuracy of learners’ writing expressions, and this effect not only effective in the short term and can maintain a certain continuity. Although scholars have not reached a unified conclusion on whether written corrective feedback is effective, corrective feedback as a teaching method in second language teaching is a well-known fact. Therefore, the problem to be studied may not be to argue whether the error correction feedback is effective, but to explore how to maximize the effect of error correction feedback. With the trend of this orientation, follow-up studies on the effectiveness comparison of different error correction feedback methods and the factors affecting the effectiveness of error correction feedback have sprung up like mushrooms after a rain [12].There are many empirical studies on direct and indirect feedback, but the conclusions are inconsistent, and some even contradict each other. The literature [13] proved that indirect feedback is more effective; the literature [14] did not find a significant difference in the effectiveness of the two forms of feedback; and the literature [15] confirmed that direct feedback is more dominant. Considering that the previous experimental methods are not rigorous enough, the literature [16] conducted two more rigorous experiments: the results show that both direct and indirect corrective feedback can significantly improve learners’ writing accuracy, and the effect of direct feedback is less. It is better than the indirect effect, because the effect of direct feedback can maintain a certain continuity, while indirect feedback cannot. From the above studies of foreign scholars on the comparison of the effectiveness of different written corrective feedback, it is found that there is no unified conclusion on which written corrective feedback is more effective. Thinking about it carefully, this result is not surprising, because their research basically introduced the feedback method as a single variable into the research design. Although the later research added a control group to make the research conclusion more convincing, it did not introduce that other factors that may affect the effect of corrective feedback are added to the experimental design. The research design mainly starts from the sender of the feedback and presents the effect through different feedback methods, so the design of the single-factor causal chain will inevitably lead to very different conclusions [17].


## 3. Intelligent Text Semantic Analysis Model

The specific steps of the working process of the reverse cloud generator are as follows:First, it calculates the mean ofX for each set of data samples entered(1)x¯=1N∑i−1Nxi,i=1,2,…N.Among them,N is the number of repetitions of the experiment and is the i-th data sample.It computes the absolute center-to-center distance of the first-order samples from the mean of the sample array(2)D=1N∑i=1Nxi−x¯,i=1,2,…N.Then, it calculates the sample variance of this set of data(3)S2=1N−1∑i=1Nxi−x¯2,i=1,2,…N.Finally, the average valueEx of the material sample information can be obtained; En and He are the fuzziness and uncertainty of the material information, respectively, and their formulas are as follows:(4)EX=x¯,En=π2•D,He=S2−En2.According to the formula of the inverse cloud generator, the m-dimensionalEx, En, and He obtained from the material data can be used as the input of the m-dimensional forward cloud generator and N one-dimensional normal random numbers with expected value En and variance He2 are generated. It repeats this step to make i=1,2…,m. On this basis, it can regenerate a one-dimensional normal random number xi with expected value Ex and variance Enai12. It repeats this step m times to make i=1,2…,m. After that, the certainty of each sampling point is calculated according to the qualitative concept [18](5)μ=exp∑i=1m−xi−Ex2/2Emm′2,x1,x2,…xm forms cloud droplets in the universe together with deterministic μ.By repeating the above stepsN times, N m-dimensional cloud droplets can be obtained, and finally, qualitative conceptual information can be expressed.Principal component analysis (PCA) is one of the methods in multivariate statistical analysis and is the most commonly used method of data dimensionality reduction. The main idea is to map the original multidimensional data into information with less dimension than the original data, the newly mapped data are the data after dimension reduction, and the dimension of the new data is the principal component. It is a method that uses a few variables to express the original data information as much as possible, and the data between the new dimensions are not related to each other. Moreover, it achieves the purpose of not only retaining the useful data characteristics of the original data but also reducing the data dimension.Its work content is to continuously search for mutually orthogonal coordinate axes in sequence from the original space and finally find a mapping direction that can maximize the variance of the transformed principal components. In the principal component analysis, the principle of maximum variance is used to complete the calculation of the principal components, and the number of principal components is finally determined by the actual needs and the size of the cumulative contribution rate (generally more than 85%). The specific implementation process is as follows:The original feature vector is denoted asXn×p, where n is 80 samples, and p is 10 features, and is normalized according to the following formula:(6)Xij=xij−xj¯sj,i=1,2,…,n;j=1,2,…,p.In the formula,xj¯=1/n∑i=1nxij,sj2=1/n−1∑i=1nxij−xj¯2 is the mean and standard deviation of the j-th variable, respectively. Its correlation coefficient matrix is as follows:(7)R=rijp.Among them,rij=covxi,xj=1/n−1∑i,j=1nxi−x¯ixj−xj¯,i,j=1,2,…,p;n>1. According to Jacobi principle, the eigenroot λ1,λ2,…,λp and its corresponding eigenvector b1,b2,…,bp are solved. Finally, the variance contribution rate is calculated, and its numerical value is sorted to obtain the cumulative variance contribution rate(8)αi=λi∑j=1pλj,βj=∑j=1mλj∑j=1pλj.Among them,αi is the variance contribution rate value of the i-th principal component, and βi is the cumulative contribution rate value of the first j principal components.The kernel method can complete the transformation between data space, category space, feature space, and other nonlinearities, so it is widely used. Kernel principal component analysis is a kernel-based principal component analysis method, and it is an extension and extension of the nonlinear direction of PCA. Its main idea is to map the input space to a high-dimensional space. This high-dimensional space is also called feature space, and PCA is done in the high-dimensional space. The original input data are first mapped to a high-dimensional space to make it a linear relationship to ensure the separability of the data, and then, dimensionality reduction is performed through the PCA process, so that the data can extract feature information to the greatest extent. This method is not only suitable for nonlinear feature extraction problems but also can obtain more features and quality than PCA. Compared with PCA, it is not as limited as PCA and can extract index information to the greatest extent, but the practical significance of extracting index is not large, and the workload and calculation amount are larger than PCA. The specific implementation process of KPCA is as follows:First, theT transform is used to map the data of the sample space Xp into the high-dimensional space of F, and the sample data xi on F are set to ϕxi, and then, the covariance matrix in F is as follows:(9)C=1n∑i=1nϕxiϕxiT.The eigenvalueλλ1≥λ2≥⋯≥λn≥0 and the eigenvector V∈F satisfy the relationship of 13:(10)CV=λV.We use the kernel function to transform the above formula, and by taking the inner product of each number and this formula, we can get(11)λϕxiV=ϕxiCV.Among them, the eigenvector isV=ϕxα=∑Nαjϕxj. By substituting ϕx=ϕx1,…,ϕxn and α=α1,…,αnT into the above equation, we can get(12)λ∑j=1nαjϕxkϕxj=1n∑j=1nαjϕxk∑i=1nϕxjϕxiϕxi.Among them,K is a symmetric matrix of n×n and Kij=ϕxiϕxj, and the above formula can be transformed into(13)nλa=Ka.Therefore, by modifying formula (13), we can get(14)λα=In−1n1nenKα.Among them,1m=n represents a matrix n∗n with all elements of 1, In is a unit matrix, and eigenvalues and eigenvectors can be obtained according to the above formula. In order to obtain the principal components, it is necessary to calculate the projection of the test sample in the F space Vk:(15)Vkϕx=∑i=1nαikϕxiϕx.In addition, the method of determining the number of principal components based on the cumulative contribution rate criterion is widely used. It is generally believed that if the cumulative contribution rate of the firstk principal components reaches 85%, it can effectively represent the data characteristics of the original data. The cumulative contribution rate formula is as follows:(16)Cumulative contribution rate=∑i=1kλi∑i=1pλi.Among them,k is the number of selected principal components, p is the number of overall eigenvalues, and λi is the eigenvalue.Clouds are composed of many cloud droplet groups, and cloud droplet groups are composed of many cloud droplet points. In the cloud model, each cloud droplet point is a point mapped from a qualitative concept to a quantitative space, so each cloud droplet contributes to the determination of the qualitative concept. Among them, the contribution rateΔC of elements in any interval Δx in cloud X to the qualitative concept A˜ is as follows:(17)ΔC≈μA˜x∗Δx2πEn.Among them, En is the entropy value of the English sample. Therefore, the total contribution rateC of all elements representing concept A˜ in the space is as follows:(18)C=∫−∞+∞∫−∞+∞1/2πEn1En2e−1/2x−Ex12/En12+y−Ex22/En22=1.Among them,Ex1 is the expected value of the one-dimensional data in the two-dimensional English semantic information cloud model, and En1 is the entropy of the one-dimensional data in the two-dimensional English semantic information cloud model, Ex2 is the expected value of the second-dimensional data in the two-dimensional English semantic information cloud model, and En2 is the entropy of the second-dimensional data in the two-dimensional English semantic information cloud model.According to the calculation, it can be concluded that in the cloud model, the contribution rate of cloud droplets in different positions to the qualitative concept can be calculated. On the contrary, as long as the word order and the central position of the central word are fixed, the cloud drop area corresponding to each perceptual word can be calculated by the required ratio. Therefore, this paper can divide the regions of cloud droplet groups according to the frequency of the required words. The analysis and calculation are mainly carried out from the central area of cloud droplets and the annular area of cloud droplets.According to the characteristics of the two-dimensional normal distribution cloud model, the frequency of the word with the highest frequency is0.01×n1 in the one-dimensional normal distribution. If the position range of the word in one dimension is Ex−k1En,Ex+k1En, then the probability that the cloud droplet X falls in the interval −∞,Ex+k1En is as follows:(19)PX<Ex+k1En=12+0.01×n2≈α.Among them,Ex+k1En is the rightmost boundary value in the probability of the word in a one-dimensional normal distribution. According to the query standard normal distribution table, we can find the probability of a, which corresponds to the coordinate value a in the standard normal distribution. The normalization formula for normal distribution is as follows:(20)δ∼Nμ,σ2⟶η=δ−μσ∼N0,1.In the formula,μ is the expected value and σ is the variance. The general normal distribution is normalized according to formula (20):(21)a=η=Ex+k1En−ExEn=k1.Among them, Ex is the expected value, and the calculatedk1 is equal to the value a in the standard orthogonal distribution table. Therefore, the cloud droplet group range corresponding to the central word can be solved:(22)x−Ex12aEn12+y−Ex22aEn22≤1.When the word is not the word with the highest probability of being selected, the association between the cloud drop ring area and the evaluation word needs to be used, and the frequency of a word is set asnii=2,3,…,5. The sum of the frequencies of all words with a greater probability than the word is selected as ∑k=1k−1−1nk. Moreover, the union of the cloud drop regions corresponding to all the preceding words is x−Ex12/bEn12+y−Ex22/bEn22≤1, and similarly, the cloud drop regions occupied by the word can be calculated as follows. If the word is assumed to be in a one-dimensional region with regions Ex−kiEn,Ex−bEn and Ex+bEn,Ex+kiEn, then the probability that X falls within the interval −∞,Ex+kiEn is as follows:(23)Ex+kiEn=12+0.01×∑k=1k=ink2≈β.According to the standard normal distribution table, the probability ofβ corresponds to the coordinate value c of the standard normal distribution, and the normalization formula is as follows:(24)δ∼Nμ,σ2⟶η=δ−μσ∼N0,1.Among them,μ is the expected value and σ is the variance. The general normal distribution is normalized according to formula (24):(25)c=η=Ex+kiEn−ExEn=ki.Among them,Ex+kiEn is the right boundary value of the probability of the sought word in the one-dimensional normal distribution. After the formula is simplified, ki is equal to the value of c in the standard orthogonal distribution table. Therefore, the range of cloud droplet groups corresponding to this word can be obtained as follows:(26)x−Ex12cEη12+y−Ex22cEη22≤1,x−Ex12bEn12+y−Ex22bEn22>1.According to the above correlation formula between English perceptual words and the range of semantic information cloud droplets, we calculated the word division in the cloud model based on PCA and the cloud model based on KPCA. Based on the two dimensionality reduction methods, the related results of cloud drop regions and evaluation words are sorted and analyzed as follows.The English semantic information cloud droplets based on PCA are divided into corresponding regions, and the results are shown in Figure1.Figure 1
The results of the division of English information cloud drop based on PCA.The English semantic information cloud model based on KPCA dimensionality reduction is divided into regions, so that different perceptual words are divided into different cloud drop regions. The results are shown in Figure2.Figure 2
The result of region division of English semantic information cloud drop based on KPCA.In order to avoid repeated words in the final output during the experiment, when multiple cloud droplets fall into the same area using MATLAB programming, the corresponding word in the output of the area appears once, and the adverb of degree is used to express the number of occurrences of the word. The order of the output words in the evaluation language is arranged from the center to the edge according to the position of the ellipse region (the word probability is arranged from high to low).Deep cross-modal hashing algorithms usually use label information to construct similarity measures between data, and maintain the correlation of features in high-level space, so as to learn hash functions of different modalities. Label semantic similarity usually describes the correlation between samples as similar or dissimilar, and the definition of the likelihood function is shown in the following formula:(27)PSijF∗1,Gj∗=σφijSij=1,1−σφijSij=0.Among them,φij=1/2FBiG∗jT,σx=1/1+e−x. In order to keep the learned deep image features and deep text features semantic similarity across modalities, the feature learning loss that can be defined by the negative log-likelihood of the cross-modal similarity is shown in the following formula:(28)J1=∑i,j=1nlog1+eφij−Sijφij.For samples with the same label, it is difficult to distinguish their similarity by label semantic similarity. Therefore, when the proportion of similar sample pairs in the training dataset is high, the feature learning loss cannot effectively perform the feature matching task. Inspired by the literature, the Jaccard coefficient can effectively reflect the similarity of sample data content, and the calculation method is shown in the following formula:(29)Kij=Nll,ljmaxNli,Nlj.Among them,lilj is the i(j) row of the label matrix, lilj=0,1∈ℝc∗1⋅Nli represents the number of 1 elements in lilj, and Nli,lj represents the number of 1s in the corresponding positions of li and lj.The larger theKij, the higher the similarity of the sample to the content. We set Dij to represent the Hamming space distance between the image hash feature Fi∗ and the text hash feature Gj∗, and r to represent the length of the hash code; then, the similarity of the hash code can be expressed as 1−Dij/r. Therefore, the similarity loss of content can be calculated by the following formula:(30)J2=∑i,j=1n1−Dij/r−Kij2,=∑i,j=1n1−r/2−1/2Fi∗,Gj∗/r−Kij2,=∑i,j=1n1/2+φij/r−Kij2.Among them,φij=1/2F∗iG∗jT. Combined with formula (28) and formula (30), the feature correlation loss between modes is shown in the following formula:(31)Jimer=∑ij=1nwij−log1+eφij−Sijφij+wij+α1/2−φij/r−Kij2.Among them,α is a parameter, wij− and wij+ are balance coefficients, which are used to solve the problem of unbalanced training data distribution, and its definition is shown in formula (35):(32)wij−=S−Sbacch,wij+=S+Sbatch.In the model training process, the algorithm model in this paper adopts the training method based on batch data. Among them,Sbatch represents the number of sample pairs in the current batch, S− represents the number of dissimilar sample pairs, and S+ represents the number of similar sample pairs. When the proportion of similar sample pairs in the training samples is large, the weight wij∗ of Jineer for the similarity of the learning data content will increase. When the proportion of dissimilar sample pairs in the training samples is large, Jinter tends to discriminate the similarity of the sample data, and it is difficult to measure the correlation between samples of the same modality. In order to make the generated hash features maintain the correlation of the same modal samples in the common space, the pairwise similarity within the data modalities is enhanced. The intramodal pairwise similarity loss is given by the following formula:(33)Jinter=∑i,j=1nwij−log1+eφij−Sijφij+wij+α1/2+φij/r−Kij2.Among them,r represents the hash code length. For image modality, φij=1/2Fi∗Fj∗T; for text modality, φij=1/2Gi∗Gj∗T.Supervised Haro methods mostly use semantic similarity based on multilabel information to measure the relevance between two instances, and different modal data have specific representations. Therefore, correlation information across modal data may not only exist in abstract form. In order to deeply mine the nearest-neighbor structure of multimodal data,I and T are used to denote the nearest-neighbor matrices of the original image and the original text, respectively. Its matrix elements are calculated by formula (6):(34)Iij=ui,ujui2uj2,Tij=vi,vjvi2vj2.In formula (34), ui and uj represent the SIFT features of the i-th image and the j-th image, respectively, and vi and vj represent the text features extracted by the bag-of-words model for the i-th text and the j-th text, respectively. To overcome the incompatibility between neural network features and original data features, specific Laplace constrains ∑ijIijFi∗−Fj∗2 and ∑ijTijGi∗−Gj∗2 are constructed for the image modality and text modality, respectively, thereby ensuring that the generated hash codes preserve the similarity ordering of the original data. Taking the image modality as an example, if I12>I13, the similarity between F1∗ and F2∗ is higher than that between F1∗ and F3∗ during the training process. Therefore, the Laplacian constraint can preserve the neighbor structure of the original data in hash learning and, at the same time, preserve the similarity order of the original data. However, optimizing the Laplacian constraint is a discrete problem, and it is necessary to calculate the feature distances of batch training data one by one. Therefore, the Laplacian constraint is rewritten as the following formula:(35)∑ijIijFi∗−Fj∗F2=TrFTLlF,∑ijTijGi∗−Gj∗F2=TrGTLTG.Among them,LI=diagI1−I,LI=diagT1−T. Therefore, the similarity ranking loss is shown in the following formula:(36)Jrank=βTrFTLlF+TrGTLTG.Among them,β is the parameter.The joint semantic feature loss deeply mines the relevance of image and text data content through content-based similarity measurement and introduces a Laplacian constraint-based graph nearest-neighbor structure to preserve the similarity ranking of original data features. Therefore, the joint semantic feature loss includes the intermodal loss of image and text network features, the intramodal loss, and the similarity ranking loss of the original data, which can be expressed as the following formula:(37)Jjoint=Jinter+Jinra+Jrank.


## 4. English Writing Correction Based on Intelligent Text Semantic Analysis

The first step of text preprocessing is generally to filter useless format tags in the document, filter illegal characters, convert full-width characters to half-width characters, and sometimes even need to do text transcoding. The data that have been filtered in the first step can be processed in the next step in more detail, as shown in Figure3(a).Figure 3
Semantic feature extraction of English writing text. (a) English writing text preprocessing process. (b) The process of extracting and selecting semantic features of English writing texts.
(a)(b)As shown in Figure3(b), the feature extraction selection process can be roughly divided into several steps. 1. The algorithm determines quantifiable characteristics of writing style, such as word frequency, sentence length, and N. gram strings. 2. The algorithm computes statistics for each feature selected. 3. The algorithm studies the influence of different features on the text representation and adjusts the weights.The algorithm flow is as follows: the algorithm first preprocesses the text in the corpus, then extracts six types of style features, generates a document vector matrix, and trains a model for each author category in the training set. Finally, the algorithm is tested and evaluated on the test set. The detailed process is shown in Figure4, which is described as follows:Figure 4
Detailed flowchart of the algorithm.The preliminary research of the platform has collected a large number of samples and constructed a large-scale corpus, which more accurately and completely covers the various characteristics of Chinese learners’ English composition, as well as the platform’s analysis of users’ historical behavior and writing characteristics and other information. It digs out a list of sample essays that suit the user’s taste and provides personalized essay recommendation services. These are the highlights of this platform. The simple workflow of the platform is shown in Figure5.Figure 5
System work flow chart.Due to the lack of the support of a considerable scale of user sample essay scoring matrix, the engine will use the text characteristics of the composition to recommend some sample essays that are similar to the user’s written essays. These similar essays are calculated after each essay is completed. The overall architecture of the engine is shown in Figure6.Figure 6
Architecture diagram of recommendation engine.As shown in Figure7, the specific processing flow of the rule syntax error correction processing module is as follows. The algorithm first reads a sentence in the preprocessing result of the English composition to be approved. After that, the algorithm reads an English grammar rule in the English grammar rule base and parses out the content of each element in the English grammar rule. The algorithm uses formula (31) to calculate the maximum number of sentences matching. If the maximum sentence matching times is greater than 0, the value is the maximum sentence matching times; otherwise, the maximum sentence matching times is 0, and the initial value of the sentence matching times counter is set to 0. If the sentence matching counter value is less than the maximum sentence matching times, set the start position of sentence matching to −1, set the ending position of sentence matching to −1, and set the word matching status to fail. The algorithm reads the content of an entry in the English grammar rules and reads a word result of a sentence in the preprocessing result of the English composition to be approved (including the part-of-speech tagging of the word and the result of phrase segmentation). Then, the algorithm performs matching processing on the content of the entry and the result of the word. If the matching is successful, the algorithm sets the matching end position of the sentence as the starting position of the sentence matching plus the number of entries in the English grammar rule. Then, the algorithm saves the English grammar rule, the start position, and end position of sentence matching in the grammatical error correction result of the English composition to be approved, and then matches the content of the next entry and the next grammar rule in turn. Finally, the algorithm filters the rule matching results. If the matching positions of the two rules overlap, only the rules with the longest matching among those overlapping matching rules are kept, that is, the rule with the longest matching start and end positions. Finally, the algorithm outputs the grammatical error correction results of the English composition to be approved.Figure 7
English writing correction model based on intelligent text semantic analysis.After constructing the above model, this paper evaluates the effect of the English writing correction model based on intelligent text semantic analysis. In this paper, the semantic analysis of English text and the error correction effect of English writing of this model are, respectively, analyzed by simulation experiments, and the results shown in Table1 and 2 are obtained.Table 1
English semantic analysis effect of English writing correction model based on intelligent text semantic analysis.
NOSemantic analysisNOSemantic analysisNOSemantic analysisNOSemantic analysis173.462172.194169.346172.16267.952281.294284.736272.01387.532376.924372.766385.71471.862470.124474.616474.64572.622567.364576.106568.69674.252678.904687.566670.30778.282778.714784.196774.88873.942882.764871.906886.85983.142985.424984.746971.681070.403078.765087.787084.931173.583179.985186.837177.831281.033277.715269.297274.631376.953379.395381.797379.171469.913481.325485.017469.791580.433569.505575.237586.811685.063672.425671.297672.901772.723785.065778.547782.011882.883886.125867.237880.281974.983973.505983.847970.562070.854085.176086.138079.08Table 2
English writing error correction effect of English writing correction model based on intelligent text semantic analysis.
NOWriting error correctionNOWriting error correctionNOWriting error correctionNOWriting error correction174.162182.604183.216181.04277.692273.874273.216283.68386.622388.644385.666386.79478.502490.734486.746476.50587.602586.744582.906576.34682.112689.624673.836683.87774.102775.364783.836779.86882.202876.384890.596873.19978.162978.004988.106984.431090.283090.875085.877074.221175.133182.375187.957190.001288.623279.645279.957277.481381.783390.185377.137381.821477.083473.535475.057474.341587.263588.715584.177582.521673.553683.045684.107690.051780.593786.505782.417789.921888.073887.795876.107880.401979.223977.455981.697980.202089.654077.346074.998077.94From the above research results, it can be seen that the English writing correction model based on intelligent text semantic analysis proposed in this paper can play an important role in the intelligent teaching of English writing.


## 5. Conclusion

Helping teachers find appropriate feedback methods to improve students’ English writing ability is beneficial in the short term or in the long term. In English writing, compared with other genres, the writing of practical essays is particularly important. The reason is that this type of subject matter can test students’ ability to use language to express in a real context. Therefore, whether it is in the usual writing training or important examinations, it occupies a large proportion, and it is the most common type of investigation. This paper combines the intelligent text semantic analysis algorithm to construct an English writing correction model to improve the teaching effect of English writing in modern English teaching. The simulation results show that the English writing correction model based on intelligent text semantic analysis proposed in this paper can play an important role in the intelligent teaching of English writing.



---

*Source: 5211045-2022-06-24.xml*