<commit_before>package com.github.anno4j.model;

import com.github.anno4j.Anno4j;
import com.github.anno4j.model.namespaces.OADM;
import org.openrdf.model.impl.URIImpl;
import org.openrdf.repository.RepositoryException;

public abstract class MotivationFactory {

    public static Motivation getBookmarking(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
        return anno4j.createObject(Motivation.class, new URIImpl(OADM.MOTIVATION_BOOKMARKING));
    }

    public static Motivation getClassifying(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
        return anno4j.createObject(Motivation.class, new URIImpl(OADM.MOTIVATION_CLASSIFYING));
    }

    public static Motivation getCommenting(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
        return anno4j.createObject(Motivation.class, new URIImpl(OADM.MOTIVATION_COMMENTING));
    }
    public static Motivation getDescribing(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {<commit_msg>Removed "abstract" modifier for MotivationFactory, not needed<commit_after>package com.github.anno4j.model;

import com.github.anno4j.Anno4j;
import com.github.anno4j.model.namespaces.OADM;
import org.openrdf.model.impl.URIImpl;
import org.openrdf.repository.RepositoryException;

public class MotivationFactory {

    public static Motivation getBookmarking(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
        return anno4j.createObject(Motivation.class, new URIImpl(OADM.MOTIVATION_BOOKMARKING));
    }

    public static Motivation getClassifying(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
        return anno4j.createObject(Motivation.class, new URIImpl(OADM.MOTIVATION_CLASSIFYING));
    }

    public static Motivation getCommenting(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
        return anno4j.createObject(Motivation.class, new URIImpl(OADM.MOTIVATION_COMMENTING));
    }
    public static Motivation getDescribing(Anno4j anno4j) throws RepositoryException, IllegalAccessException, InstantiationException {
{'fraction_non_alphanumeric': 0.06864888500218627, 'fraction_numerical': 0.013117621337997376, 'mean_word_length': 6.333333333333333, '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': '1794469', 'n_tokens_mistral': 710, 'n_tokens_neox': 677, 'n_words': 129}