/**
  * Constructs a new string element representing some canned text.
  *
  * @param value
  *            the text for this string element.
  * @param isCapitalized
  *            whether this string element is be capitalized.
  */
 public StringElement(string value, bool isCapitalized)
 {
     Category = new PhraseCategory(PhraseCategory.PhraseCategoryEnum.CANNED_TEXT);
     setFeature(Feature.ELIDED, false);
     setFeature(Feature.IS_CAPITALIZED, isCapitalized);
     Realisation = value;
 }
        /**
         * Creates a new phrase of the given type.
         *
         * @param newCategory
         *            the <code>PhraseCategory</code> type for this phrase.
         */
        public PhraseElement(PhraseCategory newCategory)
        {
            Category = newCategory;

            // set default feature value
            setFeature(Feature.ELIDED, false);
        }