Class DocumentAuthenticity
java.lang.Object
org.episteme.social.history.DocumentAuthenticity
Analyzes document authenticity through linguistic anachronism detection.
Identifies terms in a text that post-date the claimed creation period of the document.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
-
Method Details
-
findAnachronisms
public static List<String> findAnachronisms(String text, int targetYear, Map<String, Integer> etymologyData) Identifies potential anachronisms in a text based on etymological data.- Parameters:
text- the text to analyzetargetYear- the claimed year of creation (CE)etymologyData- a map of words to their earliest known appearance year- Returns:
- a list of identified anachronistic words
- Throws:
NullPointerException- if any argument is null
-