<commit_before>{
    "coverage": {
        "country": "ch",
        "city": "Zurich"
    },
    "data": "https://data.stadt-zuerich.ch/storage/f/adressen/adressen.json",
    "website": "https://data.stadt-zuerich.ch/dataset/adressen",
    "license": {
        "text": "CC 0",
        "attribution": false,
        "share-alike": false
    },
    "type": "http",
    "conform": {
        "encoding": "utf-8",
        "number": {
            "function": "regexp",
            "field": "Adresse",
            "pattern": "(.* )([0-9]+)",
            "replace": "$2"
        },
        "street": {
            "function": "regexp",
            "field": "Adresse",
            "pattern": "(.*)( [0-9]+)",
            "replace": "$1"
        },
        "postcode": "PLZ",
        "type": "geojson"
    }
}<commit_msg>fixing Zurich regexes to allow for e.g. 102a, was concatenating the "a" onto the street name<commit_after>{
    "coverage": {
        "country": "ch",
        "city": "Zurich"
    },
    "data": "https://data.stadt-zuerich.ch/storage/f/adressen/adressen.json",
    "website": "https://data.stadt-zuerich.ch/dataset/adressen",
    "license": {
        "text": "CC 0",
        "attribution": false,
        "share-alike": false
    },
    "type": "http",
    "conform": {
        "encoding": "utf-8",
        "number": {
            "function": "regexp",
            "field": "Adresse",
            "pattern": "(.* )([0-9]+[^\\s]*)[\\s]*$",
            "replace": "$2"
        },
        "street": {
            "function": "regexp",
            "field": "Adresse",
            "pattern": "(.*)( [0-9]+[^\\s]*)[\\s]*$",
            "replace": "$1"
        },
        "postcode": "PLZ",
        "type": "geojson"
    }
}
{'fraction_non_alphanumeric': 0.22756224667052694, 'fraction_numerical': 0.011001737116386797, 'mean_word_length': 1.691588785046729, 'pattern_counts': {'":': 48, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2935474', 'n_tokens_mistral': 611, 'n_tokens_neox': 597, 'n_words': 105}