Research Article

PerAnSel:  A  Novel Deep Neural Network-Based System for Persian Question Answering

Algorithm 4

Preprocessing step of the answer selection.
Input: EAT, Candidate Answer(a)
Output: answerEAT
(1)
(2) Tokenizer(answerEAT) {The answer is tokenized to its tokens.}
(3)for all do
(4)ifthen
(5)  
(6)end if
(7)end for
(8)
(9)return answerEAT