001package org.maltparser.core.feature.function; 002 003import org.maltparser.core.exception.MaltChainedException; 004/** 005* 006* 007* @author Johan Hall 008*/ 009public interface Modifiable extends FeatureFunction { 010 /** 011 * Override the feature value of the feature function. 012 * 013 * @param code an integer representation of the symbol 014 * @throws MaltChainedException 015 */ 016 public abstract void setFeatureValue(int code) throws MaltChainedException; 017 /** 018 * Override the feature value of the feature function. 019 * 020 * @param symbol an string representation of the symbol 021 * @throws MaltChainedException 022 */ 023 public abstract void setFeatureValue(String symbol) throws MaltChainedException; 024}