UCDP-AEC

Models and data for the UCDP Abstractive Event analysis Corpus paper
git clone https://esimon.eu/repos/UCDP-AEC.git
Log | Files | Refs | README | LICENSE

target_format.py (306B)


      1 #!/usr/bin/env python
      2 # -*- coding:utf-8 -*-
      3 from typing import List, Dict
      4 
      5 
      6 class TargetFormat:
      7     @staticmethod
      8     def annotate_spans(tokens: List[str], spans: List[Dict]): pass
      9 
     10     @staticmethod
     11     def annotate_predicate_arguments(tokens: List[str], predicate_arguments: List[Dict], zh=False): pass