Research Article
[Retracted] Application of Thematic Context-Based Deep Learning in Foreign Language Teaching
Algorithm 1
LDA ELT topic word set construction algorithm.
| | Input: | | | //ELT corpus and ELT topic probability distributions | | | Output: //LDA ELT subject headings | | (1) | for i = 1 to m do//traverse ELT D | | (2) | //Get the topic T to which the i-th ELT topic probability maximum belongs | | (3) | | | (4) | //put the i article of ELT into the th topic | | (5) | Topic.append (, i) | | (6) | end for | | (7) | for j = 1 to k do//traverse k topics | | (8) | //ELT splitting and deduplication in the j-th topic | | (9) | lexical ← set(seg(Topic[j])) | | (10) | append(lexical)//constitute a set of subject words . | | (11) | end for | | (12) | return (Z)//return to LDA ELT subject word set |
|