docs: public static ParametricCcgParser parseFromLexicon(Iterable<String> unfilteredLexiconLines,
        Iterable<String> unknownWordLexiconLines, Iterable<String> unfilteredRuleLines,
        CcgFeatureFactory featureFactory, Set<String> posTagSet, boolean allowComposition,
        Iterable<CcgRuleSchema> allowedCombinationRules, boolean normalFormOnly) {
      Preconditions.checkNotNull(featureFactory);
  
      // System.out.println("Reading lexicon and rules...");
      List<CcgBinaryRule> binaryRules = Lists.newArrayList();
      List<CcgUnaryRule> unaryRules = Lists.newArrayList();
      CcgBinaryRule.parseBinaryAndUnaryRules(unfilteredRuleLines, binaryRules, unaryRules);
  
      List<LexiconEntry> lexiconEntries = LexiconEntry.parseLexiconEntries(unfilteredLexiconLines);
      List<LexiconEntry> unknownLexiconEntries = LexiconEntry.parseLexiconEntries(unknownWordLexiconLines);
      return ParametricCcgParser.parseFromLexicon(lexiconEntries, unknownLexiconEntries, binaryRules,
          unaryRules, featureFactory, posTagSet, allowComposition, allowedCombinationRules,
          normalFormOnly);
    }