Lexical Tools

Map to Simple Inflection Scheme

  • Short Description: Map inflections to simple inflection scheme

  • Full Description:

    Map all 24 full inflection schemes to 9 simple inflection schemes. A simple scheme is to:

    • remove duplications of base (such as positive, singular, infinitive, pres123p)
    • ignore negative
    • ignore personal (except for pres3s)

    The simple inflection scheme includes:

    • base
    • comparative
    • superlative
    • plural
    • presPart (ing)
    • past
    • pastPart
    • pres3s
    • pres (used as present for verb, modal and aux)

    Please note that the mapping of simple inflection scheme (from full inflection scheme) might cause some confusion due to two issues as described bellows:

    • pres (2097152) is overly used in the simple inflection scheme for categories of verb, modal, and aux while it is only used for modal in the full inflection scheme. For example:
      CategoryWordFull InflectionSimple Inflection
      auxarepres1p23ppres
      modalcanprespres
      verbbreakpres1p23ppres

    • pres (2097152) for modals can't be simplified to base (1) since there is one exception (of 'll). As shown in the following table, 'll is pres not base (while other modal can be simplified from pres to base).
      CategoryWordFull InflectionSimple Inflection
      modalcanprespres
      modaldareprespres
      modalmayprespres
      modalmustprespres
      modaloughtprespres
      modalshallprespres
      modalwillprespres
      modal'llprespres

    The mappings are described as in the following table:

    BitValueVariantSimple InflectionMapped ValueExamplePossible Categories
    01basebase1
    • red
    • fast
    • be
    • that
    • and
    • the
    • can
    • dog
    • to
    • it
    • break
    • adj (1)
    • adv (2)
    • aux (4)
    • compl (8)
    • conj (16)
    • det (32)
    • modal (64)
    • noun (128)
    • prep (256)
    • pron (512)
    • verb (1024)
    12comparativecomparative2
    • redder
    • faster
    • adj (1)
    • adv (2)
    24superlativesuperlative4
    • reddest
    • fastest
    • adj (1)
    • adv (2)
    38pluralplural8
    • dogs
    • noun (128)
    416presPartpresPart16
    • being
    • breaking
    • aux (4)
    • verb (1024)
    532pastpast32
    • did
    • could
    • broke
    • aux (4)
    • modal (64)
    • verb (1024)
    664pastPartpastPart64
    • been
    • broken
    • aux (4)
    • verb (1024)
    7128pres3spres3s128
    • is
    • breaks
    • aux (4)
    • verb (1024)
    8256positivebase1
    • red
    • fast
    • adj (1)
    • adv (2)
    9512singularbase1
    • dog
    • noun (128)
    101024infinitivebase1
    • be
    • break
    • aux (4)
    • verb (1024)
    112048pres123pbase1
    • do
    • have
    • aux (4)
    124096pastNegpast32
    • didn't
    • hadn't
    • couldn't
    • wouldn't
    • shouldn't
    • aux (4)

    • modal (64)
    138192pres123pNegpres2097152
    • don't
    • haven't
    • aux (4)
    1416384pres1spres2097152
    • am
    • aux (4)
    1532768past1p23pNegpast32
    • weren't
    • aux (4)
    1665536past1p23ppast32
    • were
    • aux (4)
    17131072past1s3sNegpast32
    • wasn't
    • aux (4)
    18262144pres1p23ppres2097152
    • are
    • break
    • aux (4)
    • verb (1024)
    19524288pres1p23pNegpres2097152
    • aren't
    • aux (4)
    201048576past1s3spast32
    • was
    • aux (4)
    212097152prespres2097152
    • can
    • will
    • 'll
    • modal (64)
    224194304pres3sNegpres2097152
    • isn't
    • hasn't
    • aux (4)
    238388608presNegpres2097152
    • can't
    • cannot
    • modal (64)

    When the -m flag is specified, the original inflections are reported in name and value. The format is as follows: |inflections in name|inflections in value|

  • Difference: None

  • Features:
    1. Map inflections to simple inflection scheme


  • Symbol: Si

  • Examples:
    
    shell> lvg -f:Si -m
    left
    left|left|2047|2097407|Si|1|all|16777215|
    
    shell> lvg -f:i:Si -SC -SI
    can't
    can't|can|<modal>|<base>|i+Si|1|
    can't|can|<modal>|<pres>|i+Si|1|
    can't|can't|<modal>|<pres>|i+Si|1|
    can't|could|<modal>|<past>|i+Si|1|
    can't|cannot|<modal>|<pres>|i+Si|1|
    can't|couldn't|<modal>|<past>|i+Si|1|
    
    More examples

  • Implementation Logic:
    1. Map the source inflections to simple inflection scheme and assigned it to target inflections.

  • Source Code: ToSimpleInflections.java

  • Hierarchy: Object -> Transformation -> ToSimpleInflections