public void LoadAnnotationsForFile(SRFile file) { AnnotationMap map = new AnnotationMap(); string checksum = file.GetRecognitionChecksum(); annotations.Add(file, map); }
public void SetAnnotation(Chunk chunk, string annotation) { AnnotationMap map = annotations[chunk.File]; map.Set(chunk.ChunkTypeId, chunk.Offset, annotation); }
public string GetAnnotation(Chunk chunk) { AnnotationMap map = annotations[chunk.File]; return(map.Get(chunk.ChunkTypeId, chunk.Offset)); }