Semantic text document format