diff options
author | Christos Zoulas <christos@zoulas.com> | 2019-09-30 15:58:24 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2019-09-30 15:58:24 +0000 |
commit | 94c1b3d766760325a512a7289549088e845ffdbb (patch) | |
tree | 3b123f44b7c773be89317a755d2c6638e019211c | |
parent | d7facfd18e647f60f4a288544efa03690f357e89 (diff) | |
download | file-git-94c1b3d766760325a512a7289549088e845ffdbb.tar.gz |
Add OpenFST magic from Martin Jansche
-rw-r--r-- | magic/Magdir/openfst | 17 | ||||
-rw-r--r-- | magic/Makefile.am | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/magic/Magdir/openfst b/magic/Magdir/openfst new file mode 100644 index 00000000..8df9b56b --- /dev/null +++ b/magic/Magdir/openfst @@ -0,0 +1,17 @@ + +#------------------------------------------------------------------------------ +# $File: openfst,v 1.1 2019/09/30 15:58:24 christos Exp $ +# openfs: file(1) magic for OpenFST (Weighted finite-state tranducer library) + +0 long 0x7eb2fdd6 OpenFst binary FST data +>&0 pstring/l x \b, fst type: %s +>>&0 pstring/l x \b, arc type: %s +>>>&0 long x \b, version: %d +>>>>&20 quad x \b, num states: %lld +>>>>>&0 quad >0 \b, num arcs: %lld + +0 long 0x56515c OpenFst binary FAR data, far type: stlist +>4 long x \b, version: %d + +0 long 0x7eb2f35c OpenFst binary FAR data, far type: sttable +>4 long x \b, version: %d diff --git a/magic/Makefile.am b/magic/Makefile.am index 6aeeb4ce..de746547 100644 --- a/magic/Makefile.am +++ b/magic/Makefile.am @@ -1,5 +1,5 @@ # -# $File: Makefile.am,v 1.147 2019/06/08 20:53:32 christos Exp $ +# $File: Makefile.am,v 1.148 2019/09/30 15:58:24 christos Exp $ # MAGIC_FRAGMENT_BASE = Magdir MAGIC_DIR = $(top_srcdir)/magic @@ -203,6 +203,7 @@ $(MAGIC_FRAGMENT_DIR)/ocaml \ $(MAGIC_FRAGMENT_DIR)/octave \ $(MAGIC_FRAGMENT_DIR)/ole2compounddocs \ $(MAGIC_FRAGMENT_DIR)/olf \ +$(MAGIC_FRAGMENT_DIR)/openfst \ $(MAGIC_FRAGMENT_DIR)/opentimestamps \ $(MAGIC_FRAGMENT_DIR)/os2 \ $(MAGIC_FRAGMENT_DIR)/os400 \ |