Class MetricScanner
java.lang.Object
org.episteme.social.linguistics.MetricScanner
Poetry metric analysis (prosody).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enumstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricScanner.RhymeAnalysisanalyzeRhymeScheme(List<String> lines) Analyzes rhyme scheme of a stanza.static intcountSyllables(String word) Counts syllables in a word.static StringidentifyForm(List<String> lines) Identifies poetic form from metrics and rhyme.Scans a line of poetry for metrical pattern.
-
Method Details
-
scanLine
Scans a line of poetry for metrical pattern. -
analyzeRhymeScheme
Analyzes rhyme scheme of a stanza. -
identifyForm
-
countSyllables
Counts syllables in a word.
-