public Timex3 newTimex3 ( String id , String type ) { idManager . updateCounter ( AnnotationType . TIMEX3 , id ) ; Timex3 newTimex3 = new Timex3 ( id , type ) ; annotationContainer . add ( newTimex3 , Layer . TIME_EXPRESSIONS , AnnotationType . TIMEX3 ) ; return newTimex3 ; }
Creates a timeExpressions object to load an existing Timex3 . It receives it s ID as an argument . The Timex3 is added to the document .