ajenhl / tacl

Tool for performing basic text analysis on the CBETA corpus
GNU General Public License v3.0
30 stars 9 forks source link

Add metadata output to tacl diff/intersect/report #42

Open ajenhl opened 9 years ago

ajenhl commented 9 years ago

Add an option to tacl diff/intersect/report to output the results to the specified file rather than stdout, and in addition output metadata about the operation to a file with the same name but different extension. This metadata would consist of:

In the case of tacl report, the metadata output would include any metadata available for the query being operated on.

ajenhl commented 8 years ago

An advantage to doing this is that it allows for warnings to be generated when the user does something inadvisable. For example, if some results are being reduced, and one or more sources of those results have already been reduced.