All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.emory.mathcs.nlp.configuration.config-train-sample.xml Maven / Gradle / Ivy

The newest version!
<configuration>
    <tsv>
        <column index="1" field="form"/>
        <column index="2" field="lemma"/>
        <column index="3" field="pos"/>
        <column index="4" field="feats"/>
        <column index="5" field="dhead"/>
        <column index="6" field="deprel"/>
    </tsv>

    <optimizer>
        <l1_regularization>0.00001</l1_regularization>
        <algorithm>adagrad-mini-batch</algorithm>
        <learning_rate>0.02</learning_rate>
        <feature_cutoff>0</feature_cutoff>
        <lols fixed="0" decaying="0.95"/>
        <batch_size>1</batch_size>
        <max_epoch>5</max_epoch>
        <bias>0</bias>
    </optimizer>

    <feature_template>
        <feature f0="i:lemma"/>
        <feature f0="j:lemma"/>
        <feature f0="i:part_of_speech_tag"/>
        <feature f0="j:part_of_speech_tag"/>

        <feature f0="i:part_of_speech_tag" f1="i:lemma"/>
        <feature f0="j:part_of_speech_tag" f1="j:lemma"/>

        <feature f0="i:part_of_speech_tag" f1="j:part_of_speech_tag"/>
        <feature f0="i:part_of_speech_tag" f1="j:lemma"/>
        <feature f0="i:lemma"              f1="j:part_of_speech_tag"/>
        <feature f0="i:lemma"              f1="j:lemma"/>
    </feature_template>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy