in src-csharp/TextractExtensions/Word.cs [41:48]
public Word(Block block, Dictionary<string, Block> blocks) {
this.Block = block ?? new Block();
this.Blocks = blocks ?? new Dictionary<string, Block>();
this.Confidence = block == null ? 0 : block.Confidence;
this.Geometry = block == null ? new Geometry() : block.Geometry;
this.Id = block == null ? string.Empty : block.Id;
this.Text = block == null ? string.Empty : block.Text;
}