Uses of Class
com.acumenvelocity.ath.model.LayeredSegment
-
Packages that use LayeredSegment Package Description com.acumenvelocity.ath.common com.acumenvelocity.ath.gemini com.acumenvelocity.ath.model com.acumenvelocity.ath.openai -
-
Uses of LayeredSegment in com.acumenvelocity.ath.common
Methods in com.acumenvelocity.ath.common that return LayeredSegment Modifier and Type Method Description static LayeredSegmentConversionUtil. toLayeredSegment(LayeredTextX slt, LayeredTextX tlt)Methods in com.acumenvelocity.ath.common with parameters of type LayeredSegment Modifier and Type Method Description static LayeredTextXConversionUtil. tltFromLayeredSegment(LayeredSegment lseg, LayeredTextX slt)Converts a LayeredSegment to a LayeredTextX by resolving inline code references. -
Uses of LayeredSegment in com.acumenvelocity.ath.gemini
Method parameters in com.acumenvelocity.ath.gemini with type arguments of type LayeredSegment Modifier and Type Method Description static List<List<InlineCodeRef>>GenAi. reinsertCodes(String modelName, List<LayeredSegment> layeredSegments)Reinserts inline codes into target segments using an LLM to align them with source codes. -
Uses of LayeredSegment in com.acumenvelocity.ath.model
Methods in com.acumenvelocity.ath.model that return LayeredSegment Modifier and Type Method Description LayeredSegmentLayeredSegment. srcCodes(List<InlineCodeRef> srcCodes)Array of inline codes as a layer over source text.LayeredSegmentLayeredSegment. srcLang(String srcLang)The source language of the segment.LayeredSegmentLayeredSegment. srcText(String srcText)Raw source text of the segment, contains no placeholders for codes or markup.LayeredSegmentLayeredSegment. trgCodes(List<InlineCodeRef> trgCodes)Array of inline codes as a layer over target text.LayeredSegmentLayeredSegment. trgLang(String trgLang)The target language of the segment.LayeredSegmentLayeredSegment. trgText(String trgText)Raw target text of the segment, contains no placeholders for codes or markup.LayeredSegmentLayeredSegment. trgWordBreakPositions(List<Integer> trgWordBreakPositions)Array of word-break positions in the target text. -
Uses of LayeredSegment in com.acumenvelocity.ath.openai
Method parameters in com.acumenvelocity.ath.openai with type arguments of type LayeredSegment Modifier and Type Method Description static List<List<InlineCodeRef>>OpenAi. reinsertCodes(String modelName, List<LayeredSegment> layeredSegments)Reinserts inline codes into target segments using an LLM to align them with source codes.
-