Created
February 13, 2018 16:43
-
-
Save strubell/cc3ab1bfcb879a07f58ec69919e5b004 to your computer and use it in GitHub Desktop.
fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if self.conll: | |
vocab_files = [(self.word_file, 1, 'Words'), | |
(self.tag_file, [3, 4], 'Tags'), | |
(self.rel_file, 7, 'Rels')] | |
elif self.conll2012: | |
vocab_files = [(self.word_file, 3, 'Words'), | |
(self.tag_file, [5, 4], 'Tags'), # auto, gold | |
(self.rel_file, 7, 'Rels'), | |
(self.srl_file, range(14, 50), 'SRLs'), | |
(self.trig_file, [10, 4] if self.joint_pos_predicates else 10, 'Trigs'), | |
(self.domain_file, 0, 'Domains')] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment