omorfi-segment − manual page for omorfi-segment
omorfi-segment.py [OPTIONs]
Morphologically
segments running text using omorfi automata and hfst tools
−h, −−help
Print this help dialog
−V, −−version
Print version info
−f FSAPATH, −−fsa FSAPATH
Path to directory of HFST format automata
−i INFILE, −−input INFILE
source of analysis data
−o OUTFILE, −−output OUTFILE
print segmented data into OUTFILE
−O OUTFORMAT, −−output-format OUTFORMAT
use OUTFORMAT format to print output
−v, −−verbose
Print verbosely while processing
−−no−split−words
no splitting on word-word boundaries (compound)
−−no−split−new−words
no splitting on dynamoc word-word boundaries (prev. unattested compounds)
−−no−split−morphs
no splitting on morph-morph boundaries
−−split−derivs
split on deriv-morph boundaries too
−−split−nonwords
split on other boundaries
−−segment−marker SEG
use SEG to mark segmentation points
If no FILENAMEs are given, input is read from standard input. If no marker is specified, an appropriate marker for OUTFORMAT is selected. The OUTFORMAT is one of {segments, moses-factors, labels-tsv} for plain-text splitted, Moses SMT style factors or labeled segments in TSV stream
Copyright
© 2015 Tommi A Pirinen Licence GPLv3: GNU GPL version 3
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and
redistribute it. There is NO WARRANTY, to the extent
permitted by law.
This used to be a bash script but was promoted into python.