You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foreach (var r in topRankedProg.Run(countries))
{
var output = r.Output != null ? r.Output.Value : "null";
Console.WriteLine("\"{0}\" => \"{1}\"", r.Reference, output);
}
it iterates over a much more complicated expression, which returns an empty list:
foreach (var a in areas
.SelectMany(area => topRankedProg.Run(area)
.Select(output => new { Input = area, Output = output }))) {
var output = a.Output != null ? a.Output.Value : "null";
Console.WriteLine("\"{0}\" => \"{1}\"", a.Input, output);
}
I tried changing this example to iterate over topRankedProg.Run(areas) so it's more like the example in the documentation, but the object returned by topRankedProgram.Run( ) does not out an output field.
Help?
The text was updated successfully, but these errors were encountered:
The LearnSequenceReferencingSibling example in WranglingSamples does not print anything. In the following code (linked here: https://github.com/Microsoft/prose/blob/master/Extraction.Text/LearningSamples.cs#L388-L393), instead of iterating over the regions as in prior documentation examples found in https://microsoft.github.io/prose/documentation/extraction-text/usage/#extracting-a-sequence-of-stringregions
like this:
it iterates over a much more complicated expression, which returns an empty list:
I tried changing this example to iterate over
topRankedProg.Run(areas)
so it's more like the example in the documentation, but the object returned bytopRankedProgram.Run( )
does not out an output field.Help?
The text was updated successfully, but these errors were encountered: