diff --git a/src/syntactic_structure.py b/src/syntactic_structure.py index b7b9dd5..6cf4d28 100644 --- a/src/syntactic_structure.py +++ b/src/syntactic_structure.py @@ -98,9 +98,6 @@ class SyntacticStructure: def build_structures(args): filename = args.structures - if args.pickled_structures: - with open(filename, 'rb') as fp: - return pickle.load(fp) max_num_components = -1 with open(filename, 'r') as fp: diff --git a/src/wani.py b/src/wani.py index 7de759d..16c9cc0 100644 --- a/src/wani.py +++ b/src/wani.py @@ -152,7 +152,6 @@ if __name__ == '__main__': help='Run in multiple processes, should speed things up') parser.add_argument('--match-to-file', help='Do not use!') - parser.add_argument('--pickled-structures', help='Do not use!', action='store_true') args = parser.parse_args() logging.basicConfig(stream=sys.stderr, level=args.verbose.upper())