Abstract
Based on the existing optimization neural network algorithm, this paper introduces a simple and computationally efficient adaptive mechanism (adaptive exponential decay rate). By applying the adaptive mechanism to the Adadelta algorithm, it can be seen that AEDR-Adadelta acquires the learning rate dynamically and adaptively. At the same time, by proposing an adaptive exponential decay rate, the number and method of configuring hyperparameters can be reduced, and different learning rates can be effectively obtained for different parameters. The model is based on the encoder-decoder structure and adopts a dual-encoder structure. The transformer encoder is used to extract the context information of the sentence; the Bi-GRU encoder is used to extract the information of the source sentence; and the gated structure is used at the decoder side. The input information is integrated, and each part is matched with different attention mechanisms, which improves the model's ability to extract and analyze relevant features in sentences. In order to accurately capture the coherence features in English texts, an improved subgraph matching algorithm is used to mine frequently occurring subgraph patterns in sentence semantic graphs, which are used to simulate the unique coherence patterns in English texts, and then analyze the overall coherence of English texts. According to the frequency of occurrence of different subgraph patterns in the sentence semantic graph, the subgraphs are filtered to generate frequent subgraph sets, and the subgraph frequency of each frequent subgraph is calculated separately. The overall coherence quality of English text is quantitatively analyzed by extracting the distribution characteristics of frequent subgraphs and the semantic values of subgraphs in the sentence semantic graph. According to the experimental results, the algorithm using the adaptive mechanism can reduce the error of the training set and the test set, improve the classification accuracy to a certain extent, and has a faster convergence speed and better text generalization ability. The semantic coherence diagnosis model of English text in this paper performs well in various tasks and has a good effect on improving the automatic correction system of English composition and providing reference for English teachers' composition correction.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.