Class LinguisticData
java.lang.Object
org.episteme.social.linguistics.LinguisticData
- All Implemented Interfaces:
UniversalDataModel
Universal data model for linguistic analysis.
Supports syntax trees, word frequency (Zipf), and sentiment timelines.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSentiment(double time, Real score, String context) voidaddWordFrequency(String word, long count) Returns a unique identifier for the type of data model.voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UniversalDataModel
getMetadata, getQuantities, validate
-
Constructor Details
-
LinguisticData
public LinguisticData()
-
-
Method Details
-
getModelType
Description copied from interface:UniversalDataModelReturns a unique identifier for the type of data model. Examples: "SPATIAL_GEOMETRY", "ECONOMIC_PORTFOLIO", "ARCHITECTURAL_PLAN".- Specified by:
getModelTypein interfaceUniversalDataModel
-
setRootNode
-
getRootNode
-
addWordFrequency
-
getWordFrequencies
-
addSentiment
-
getSentimentTimeline
-