parameters: (filename, feature_trajectories)
docstring: save a features in the given filename
docstring_summary: save a features in the given filename
docstring_tokens: save a features in the given filename
function: def save_protobuf(filename, feature_trajectories):
      """
      save a features in the given filename
      """
      with open(filename, 'wb') as f:
          for features in feature_trajectories:
              for fea in features:
                  serializedMessage = fea.SerializeToString()
                  delimiter = encoder._VarintBytes(len(serializedMessage))
                  f.write(delimiter + serializedMessage)
function_tokens: def save_protobuf ( filename , feature_trajectories ) : with open ( filename , 'wb' ) as f : for features in feature_trajectories : for fea in features : serializedMessage = fea . SerializeToString ( ) delimiter = encoder . _VarintBytes ( len ( serializedMessage ) ) f . write ( delimiter + serializedMessage )