Skip to content

ITextTransform

Namespace: LLama.Abstractions

An interface for text transformations. These can be used to compose a pipeline of text transformations, such as: - Tokenization - Lowercasing - Punctuation removal - Trimming - etc.

1
public interface ITextTransform

Methods

Transform(String)

Takes a string and transforms it.

1
string Transform(string text)

Parameters

text String

Returns

String

Clone()

Copy the transform.

1
ITextTransform Clone()

Returns

ITextTransform