|
Algorithm 3 Multilingual evidence for fake news detection: feature extraction. |
Input: news information n, languages to use for comparison the maximum amount N of news from the web search to compare with.
Output: cross-lingual evidence feature set of similarity with the original news and source credibility rank for each news item from a multilingual web search.
-
1:
function Multiverse(n, L, N)
-
2:
-
3:
for do
-
4:
-
5:
-
6:
for do
-
7:
-
8:
# For similarity score cosine- or NLI-based function can be chosen
-
9:
-
10:
-
11:
end for
-
12:
end for
-
13:
return
-
14:
end function
|