Patent attributes
Methods, systems, and apparatus, including computer programs encoded on computer-storage media, for dynamic document annotations. In some implementations, a keyword is identified in a first view of a document, the first view being provided on a user interface. An annotation for the keyword is provided for display at a first location with the first view provided on the user interface. An adjustment to the first view is detected that causes a second view of the document on the user interface, where a position of the keyword in the second view is different from a position of the keyword in the first view. In response to detecting the adjustment to the first view, the annotation is hidden from the user interface, and, after hiding the annotation, the annotation for the keyword is provided for display at a second location with the second view of the document.