models
models copied to clipboard
fml parameter in dragnn model
is there some rules to representent fml? I can't find code to illustrate this? Can somebody tell me? Thanks.
Here are some pointers:
- The fml grammar is defined in https://github.com/tensorflow/models/blob/master/syntaxnet/syntaxnet/fml_parser.h
- You can see how some specific features are defined and registered (at the bottom of the file) in https://github.com/tensorflow/models/blob/master/syntaxnet/syntaxnet/sentence_features.cc
The features used in DRAGNN are the ones defined in SyntaxNet.
Probably the quickest way to explore how features are defined is to search for REGISTER_SYNTAXNET_FEATURE_FUNCTION and look at the types of feature functions registered:
REGISTER_SENTENCE_IDX_FEATUREREGISTER_PARSER_FEATURE_FUNCTIONREGISTER_PARSER_IDX_FEATURE_FUNCTION
and the features these macros are used to register.
@jingcangcang Please see issue tracker policy here.