Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-14

Refactor Lexicons: LexiconEntry should be inter-changable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: .structures
    • Labels:
      None

      Description

      The current Lexicon implementations suffer from several disadvantages:
       * To store more information in the lexicon, the Lexicon class has to be sub-classed
       * LexiconInputStream and LexiconOutputStreams don't make it easy for more information to be added to the Lexicon
       * Deprecated methods, e.g. getTF() etc should be removed

      This issue is to track changes to the Lexicon so that the Lexicon code can be reused without extensive sub-classing.

        Attachments

        1. TR-14.v2.patch
          507 kB
        2. TR-14.v3.svn.patch
          467 kB
        3. TR14-v1.patch
          268 kB

          Issue Links

            Activity

              People

              • Assignee:
                craigm Craig Macdonald
                Reporter:
                craigm Craig Macdonald
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: