removing pickled structures

This commit is contained in:
Ozbolt Menegatti 2019-07-03 13:05:52 +02:00
parent a07d14011d
commit d771137dc7
2 changed files with 0 additions and 4 deletions

View File

@ -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:

View File

@ -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())