Skip to content

Commit

Permalink
updated help info for fixunassignedprocessor procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 10, 2021
1 parent 3854d7b commit fbde07b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion foliatools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""FoLiA-tools contains various Python-based command line tools for working with FoLiA XML (Format for Linguistic Annotation)"""

VERSION = "2.4.5"
VERSION = "2.4.6"
2 changes: 1 addition & 1 deletion foliatools/foliaupgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def main():
parser.add_argument('-v','-V','--version',help="Show version information", action='version', version="FoLiA-tools v" + TOOLVERSION + ", using FoLiA v" + folia.FOLIAVERSION + " with library FoLiApy v" + folia.LIBVERSION, default=False)
parser.add_argument('-n', '--dryrun',help="Dry run, do not write files", action='store_true', default=False)
parser.add_argument('-E','--extension', type=str,help="Extension", action='store',default="xml",required=False)
parser.add_argument('--fixunassignedprocessor',help="Fixes invalid FoLiA that does not explicitly assign a processor to an annotation when multiple processors are possible (and there is therefore no default). The last processor will be used in this case.", action='store_true', default=False)
parser.add_argument('--fixunassignedprocessor',help="Fixes invalid FoLiA that does not explicitly assign a processor to an annotation when multiple processors are possible (and there is therefore no default). The first processor will be used in this case.", action='store_true', default=False)
parser.add_argument('files', nargs='+', help='Input files')
args = parser.parse_args()

Expand Down
2 changes: 1 addition & 1 deletion foliatools/foliavalidator.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def commandparser(parser):
parser.add_argument('-D','--debug',type=int,help="Debug level", action='store',default=0)
parser.add_argument('-b','--traceback',help="Provide a full traceback on validation errors", action='store_true', default=False)
parser.add_argument('-x','--explicit',help="Serialise to explicit form, this generates more verbose XML and simplified the job for parsers as implicit information is made explicit", action='store_true', default=False)
parser.add_argument('--fixunassignedprocessor',help="Fixes invalid FoLiA that does not explicitly assign a processor to an annotation when multiple processors are possible (and there is therefore no default). The last processor will be used in this case.", action='store_true', default=False)
parser.add_argument('--fixunassignedprocessor',help="Fixes invalid FoLiA that does not explicitly assign a processor to an annotation when multiple processors are possible (and there is therefore no default). The first processor will be used in this case.", action='store_true', default=False)
return parser

def main():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def read(fname):

setup(
name = "FoLiA-tools",
version = "2.4.5", #also change in __init__.py
version = "2.4.6", #also change in __init__.py
author = "Maarten van Gompel",
author_email = "proycon@anaproy.nl",
description = ("FoLiA-tools contains various Python-based command line tools for working with FoLiA XML (Format for Linguistic Annotation)"),
Expand Down

0 comments on commit fbde07b

Please sign in to comment.