using Microsoft.Recognizers.Text;
public static void Main()
var serializerOptions = new JsonSerializerOptions()
var recognizer = new Microsoft.Recognizers.Text.NumberWithUnit.NumberWithUnitRecognizer(Culture.English);
var results = recognizer.GetCurrencyModel().Parse("lorem ipsum paid $22.44 for foo");
Console.WriteLine(JsonSerializer.Serialize(results, serializerOptions));