Class PaleographyAssistant
java.lang.Object
org.episteme.social.history.PaleographyAssistant
Assists in dating and identifying historical manuscripts based on paleographic analysis of writing styles.
Classifies scripts into established historical types and maps diagnostic features to time periods.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordEncapsulates the statistical results of a paleographical analysis.static final recordSpecific calligraphic or typographic feature used to distinguish scripts.static enumMajor historical Western European script types. -
Method Summary
Modifier and TypeMethodDescriptionanalyzeScript(List<String> observedFeatures, String region) Estimates the likely script type and creation date based on observed manuscript features.static List<PaleographyAssistant.ScriptType> getActiveScripts(int year) Returns all script types known to be active in a specific year.Suggests diagnostic features associated with a specific script type.static doublemanuscriptSimilarity(List<String> features1, List<String> features2) Quantifies the stylistic similarity between two manuscripts using Jaccard index.
-
Method Details
-
analyzeScript
public static PaleographyAssistant.DatingResult analyzeScript(List<String> observedFeatures, String region) Estimates the likely script type and creation date based on observed manuscript features.- Parameters:
observedFeatures- list of feature names observed in the manuscriptregion- geographical region of the manuscript (for regional adjustments)- Returns:
- dating analysis results as
PaleographyAssistant.DatingResult - Throws:
NullPointerException- if observedFeatures is null
-
getActiveScripts
Returns all script types known to be active in a specific year.- Parameters:
year- the year to query- Returns:
- unmodifiable list of active script types
-
getDiagnosticFeatures
public static List<PaleographyAssistant.ScriptFeature> getDiagnosticFeatures(PaleographyAssistant.ScriptType script) Suggests diagnostic features associated with a specific script type.- Parameters:
script- the script type- Returns:
- unmodifiable list of associated features
- Throws:
NullPointerException- if script is null
-
manuscriptSimilarity
Quantifies the stylistic similarity between two manuscripts using Jaccard index.- Parameters:
features1- features of first manuscriptfeatures2- features of second manuscript- Returns:
- similarity score (0.0 to 1.0)
-