MLTextType
class NatML.Types.MLTextType : MLFeatureType
The image type describes text.
/// <summary>
/// Create a text feature type.
/// </summary>
/// <param name="length">Text length.</param>
MLTextType (int length);
The text type is created with a
length
parameter which specifies the character length of the text. The text type can also be created with a feature name
:/// <summary>
/// Create a text feature type.
/// </summary>
/// <param name="name">Feature name.</param>
/// <param name="length">Text length.</param>
MLTextType (string name, int length);
/// <summary>
/// Feature name.
/// </summary>
string name { get; }
/// <summary>
/// Feature data type.
/// This will typically be a numeric type.
/// </summary>
Type dataType { get; }
The
dataType
is always equal to typeof(string)
./// <summary>
/// Text length.
/// </summary>
int length { get; }
INCOMPLETE.
Last modified 8mo ago