Document consistency of ambiguity resolutions