<commit_before># discoursegraphs.readwrite: input/output functionality

"""
The ``readwrite`` package contains importers, exporters and other
output functionality. Basically, it allows you to convert annotated
linguistic documents into a graph-based representation for further
processing.
"""

__all__ = [
    'TigerDocumentGraph', 'AnaphoraDocumentGraph', 'RSTGraph',
    'MMAXDocumentGraph', 'ConanoDocumentGraph'
]

from discoursegraphs.readwrite.tiger import TigerDocumentGraph
from discoursegraphs.readwrite.anaphoricity import AnaphoraDocumentGraph
from discoursegraphs.readwrite.conano import ConanoDocumentGraph
from discoursegraphs.readwrite.rst import RSTGraph
from discoursegraphs.readwrite.mmax2 import MMAXDocumentGraph<commit_msg>paula: added new formats to readwrite namespace<commit_after># discoursegraphs.readwrite: input/output functionality

"""
The ``readwrite`` package contains importers, exporters and other
output functionality. Basically, it allows you to convert annotated
linguistic documents into a graph-based representation for further
processing.
"""

__all__ = [
    'AnaphoraDocumentGraph', 'ConanoDocumentGraph', 'MMAXDocumentGraph',
    'PaulaDocument', 'write_paula', 'RSTGraph', 'SaltDocument', 'SaltXMIGraph',
    'TigerDocumentGraph'
]

from discoursegraphs.readwrite.anaphoricity import AnaphoraDocumentGraph
from discoursegraphs.readwrite.conano import ConanoDocumentGraph
from discoursegraphs.readwrite.mmax2 import MMAXDocumentGraph
from discoursegraphs.readwrite.paulaxml.paula import PaulaDocument, write_paula
from discoursegraphs.readwrite.rst import RSTGraph
from discoursegraphs.readwrite.salt.saltxmi import SaltDocument, SaltXMIGraph
from discoursegraphs.readwrite.tiger import TigerDocumentGraph
{'fraction_non_alphanumeric': 0.06807780320366133, 'fraction_numerical': 0.0011441647597254005, 'mean_word_length': 7.615763546798029, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '3213174', 'n_tokens_mistral': 500, 'n_tokens_neox': 450, 'n_words': 131}