]> granicus.if.org Git - file/commitdiff
Add OpenFST magic from Martin Jansche
authorChristos Zoulas <christos@zoulas.com>
Mon, 30 Sep 2019 15:58:24 +0000 (15:58 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 30 Sep 2019 15:58:24 +0000 (15:58 +0000)
magic/Magdir/openfst [new file with mode: 0644]
magic/Makefile.am

diff --git a/magic/Magdir/openfst b/magic/Magdir/openfst
new file mode 100644 (file)
index 0000000..8df9b56
--- /dev/null
@@ -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
index 6aeeb4ce38c9414933e29ac7c173739e939155f2..de746547fa730b6d5f39880ba701e1711ce36418 100644 (file)
@@ -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 \