removing pickled structures
This commit is contained in:
parent
a07d14011d
commit
d771137dc7
|
@ -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:
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue
Block a user