diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-03 23:53:32 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-03 23:53:32 +0200 |
commit | 7171710338709aba58393558f4c647a59422942e (patch) | |
tree | a5916153974bace5e275991cb22e8e89fee07e29 /skate/cmd/skate-reduce | |
parent | 1d0a1f48bb8b3a9544a3abf2ed0bc8d3d6d0bf5a (diff) | |
download | refcat-7171710338709aba58393558f4c647a59422942e.tar.gz refcat-7171710338709aba58393558f4c647a59422942e.zip |
rename mode: oledt (table)
Diffstat (limited to 'skate/cmd/skate-reduce')
-rw-r--r-- | skate/cmd/skate-reduce/main.go | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go index fe8b803..605c9b6 100644 --- a/skate/cmd/skate-reduce/main.go +++ b/skate/cmd/skate-reduce/main.go @@ -36,7 +36,12 @@ // | $ skate-reduce -m wiki -L a.ndj -W b.ndj // | // | -// * oled | zippy mode for releases and OL inputs. +// * oledt | zippy mode for releases and OL inputs, dumps table. +// | +// | $ skate-reduce -m oled -F a.ndj -O b.ndj +// | +// | +// * oled | zippy mode for releases and OL inputs, emit biblioref. // | // | $ skate-reduce -m oled -F a.ndj -O b.ndj // @@ -58,7 +63,7 @@ import ( var ( numWorkers = flag.Int("w", runtime.NumCPU(), "number of workers") batchSize = flag.Int("b", 10000, "batch size") - mode = flag.String("m", "ref", "mode, e.g. exact, fuzzy, ref, bref, wiki, ol") + mode = flag.String("m", "ref", "mode, e.g. exact, fuzzy, ref, bref, wiki, oledt, ...") quite = flag.Bool("q", false, "be quite") logFile = flag.String("log", "", "log filename") @@ -137,7 +142,7 @@ func main() { if err := skate.ZippyExactWiki(l, w, reasonMap["doi"], bw); err != nil { log.Fatal(err) } - case "oled": + case "oledt": o, f, err := xio.OpenTwo(*openLibrary, *refs) if err != nil { log.Fatal(err) @@ -145,6 +150,8 @@ func main() { if err := skate.ZippyVerifyRefsOpenLibraryTable(o, f, bw); err != nil { log.Fatal(err) } + case "oled": + log.Fatalf("not yet implemented") default: log.Fatalf("invalid mode") } |