<commit_before>dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION],[MINIMUM-PYTHON-VERSION])
dnl 
dnl checks for prerequisites for the common/mangle-tmpl.py script
dnl used when building the plugin documentation

AC_DEFUN([AG_GST_PLUGIN_DOCS],
[
  AC_BEFORE([GTK_DOC_CHECK],[$0])dnl check for gtk-doc first
  AC_BEFORE([AS_PATH_PYTHON],[$1])dnl find python first

  build_plugin_docs=no
  AC_MSG_CHECKING([whether to build plugin documentation])
  if test x$enable_gtk_doc = xyes -a x$have_gtk_doc = xyes; then
    build_plugin_docs=yes
    AC_MSG_RESULT([yes])
  else
    AC_MSG_RESULT([no (gtk-doc disabled or not available)])
  fi

  AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
])<commit_msg>Require pygst to build module doc<commit_after>dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION],[MINIMUM-PYTHON-VERSION])
dnl 
dnl checks for prerequisites for the common/mangle-tmpl.py script
dnl used when building the plugin documentation

AC_DEFUN([AG_GST_PLUGIN_DOCS],
[
  AC_BEFORE([GTK_DOC_CHECK],[$0])dnl check for gtk-doc first
  AC_BEFORE([AS_PATH_PYTHON],[$1])dnl find python first

  build_plugin_docs=no
  have_pygst=no
  PKG_CHECK_MODULES(PYDOCSTUFF, [ gst-python-0.10 ], [have_pygst=yes],
  				 [have_pygst=no])
  AC_MSG_CHECKING([whether to build plugin documentation])
  if test x$enable_gtk_doc = xyes -a x$have_pygst = xyes; then
    build_plugin_docs=yes
    AC_MSG_RESULT([yes])
  else
    AC_MSG_RESULT([no (gtk-doc disabled or not available)])
  fi

  AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
])
{'fraction_non_alphanumeric': 0.1005765534913517, 'fraction_numerical': 0.004484304932735426, 'mean_word_length': 5.703862660944206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2239706', 'n_tokens_mistral': 634, 'n_tokens_neox': 608, 'n_words': 122}