You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obtained from (original example of the chapter 14.3.2),
0000000002
-1 NP
: 1 1
: 2 2 -2 2
: 3 3
t
f
-2 Adj
: 6 1 5 1 4 1
t
f
%<E>
%the/DET
%<A>/ADJ
%<N>
%nice
@pretty
%small
f
The formal specification of the translation-algorithm (that can be translated to C++ for best implementation) can use Javascript, Perl or another simple language... Anyway there are some tips, or it can be inspired, by ElagFstFilesIO.cpp, ElagFstFilesIO.cpp, etc.
The text was updated successfully, but these errors were encountered:
It could be nice to have a tool to perform two-way translations of the .fst2 files to json. However, I doubt many users would be interested in this. In any way, If you want to contribute this feature, feel free to open a PR on the core repository. In the meantime, I'm closing the issue.
"An
.fst2
file is a text file that describes a set of graphs", Unitex-GramLab-3.1-usermanual-en, chapter 14.3.2, "Format.fst2
".Proposal
To transform (export) the
.fst2
file into.fst2.json
, with some enhancing semantic and a formal description with json-schema. Example:obtained from (original example of the chapter 14.3.2),
The formal specification of the translation-algorithm (that can be translated to C++ for best implementation) can use Javascript, Perl or another simple language... Anyway there are some tips, or it can be inspired, by
ElagFstFilesIO.cpp
,ElagFstFilesIO.cpp
, etc.The text was updated successfully, but these errors were encountered: