class_docstr: Article source for articles in DML format (DML-CZ, Numdam):
  1) articles = directories starting with '#'
  2) content is stored in fulltext.txt
  3) metadata are stored in meta.xml
  
  Article URI is currently (a part of) the article's path on filesystem.
  
  See the ArticleSource class for general info on sources.
class_docstr_tok: ["Article","source","for","articles","in","DML","format","(","DML-CZ",",","Numdam",")",":","1",")","articles","=","directories","starting","with","'","#","'","2",")","content","is","stored","in","fulltext.txt","3",")","metadata","are","stored","in","meta.xml","Article","URI","is","currently","(","a","part","of",")","the","article","'s","path","on","filesystem",".","See","the","ArticleSource","class","for","general","info","on","sources","."]
code: def isArticle(self, path):
      # in order to be valid, the article directory must start with '#'
      if not os.path.basename(path).startswith("#"):
          return False
      # and contain the fulltext.txt file
      if not os.path.exists(os.path.join(path, "fulltext.txt")):
          logger.info("missing fulltext in %s", path)
          return False
      # and also the meta.xml file
      if not os.path.exists(os.path.join(path, "meta.xml")):
          logger.info("missing meta.xml in %s", path)
          return False
      return True
  
imports: import logging
  import os
  import os.path
  import re
  import xml.sax
  from gensim import utils
  import sys
label_desc: Use image node_id 5 for calling the DmlSource obj's underlying member method code with example usage: obj.isArticle(path) and returns: True, False, False, False