The SPECIALIST Lexicon

Example - Lexical Tools - basic flow components

  • Ex8_1_Base.java
    => retrieve base form of an input
    ----- Program Starts ... 
    ----- GetInflVarList8( ): -----
    --- input file: ../data/inflVars.data
    --- Total lines: 1690181
    ===== Ex8_1_Base.Test (1) =====
    == input term (saw): saw, see
    -- Time (Java 7 - Base): 0.124048262
    == input term (saw): saw, see
    -- Time (Java 8 - Base): 0.117820916
    == input term (saw): saw, see
    -- Time (Java 8 - Base, parallel): 0.057536127
    ----- Program Ends ... 
    

  • Ex8_2_Citation.java
    => retrieve citation of an input
    ----- Program Starts ... 
    ----- GetInflVarList8( ): -----
    --- input file: ../data/inflVars.data
    --- Total lines: 1690181
    ===== Ex8_2_Citation.Test (1) =====
    == input term (saw): saw, see
    -- Time (Java 7 - Base): 0.109932305
    == input term (saw): saw, see
    -- Time (Java 8 - Base): 0.106163629
    == input term (saw): saw, see
    -- Time (Java 8 - Base, parallel): 0.054711491
    ----- Program Ends ...
    

  • Ex8_3_Eui.java
    => retrieve EUI of an input
    ----- Program Starts ... 
    ----- GetInflVarList8( ): -----
    --- input file: ../data/inflVars.data
    --- Total lines: 1690181
    ===== Ex8_3_Eui.Test (1) =====
    == input term (saw): E0054443, E0054444, E0055007
    -- Time (Java 7 - Base): 0.068783567
    == input term (saw): E0054443, E0054444, E0055007
    -- Time (Java 8 - Base): 0.064372005
    == input term (saw): E0054443, E0054444, E0055007
    -- Time (Java 8 - Base, parallel): 0.046974985
    ----- Program Ends ...
    

  • Ex8_4_CatInfl.java
    => retrieve categories and inflections of an input
    ----- Program Starts ... 
    ----- GetInflVarList8( ): -----
    --- input file: ../data/inflVars.data
    --- Total lines: 1690181
    ===== Ex8_4_CatInfl.Test (1) =====
    == input term (saw): noun|base, noun|sing, verb|base, verb|infinitive, verb|past, verb|pres(fst_plur,second,thr_plur)
    -- Time (Java 7 - Base): 0.126719265
    == input term (saw): noun|base, noun|sing, verb|base, verb|infinitive, verb|past, verb|pres(fst_plur,second,thr_plur)
    -- Time (Java 8 - Base): 0.114611687
    == input term (saw): noun|base, noun|sing, verb|base, verb|infinitive, verb|past, verb|pres(fst_plur,second,thr_plur)
    -- Time (Java 8 - Base, parallel): 0.058060717
    ----- Program Ends ...
    

  • Ex8_5_CatInflBegin.java
    => retrieve categories and inflections of an input begin with ...
    ----- Program Starts ... 
    ----- GetInflVarList8( ): -----
    --- input file: ../data/inflVars.data
    --- Total lines: 1690181
    ===== Ex8_5_CatInflBegin.Test (1) =====
    == input term (cashe):
    cashed|verb|past_part|E0015477
    cashed|verb|past|E0015477
    cashes|verb|pres(thr_sing)|E0015477
    cashew nuts|noun|plur|E0430044
    cashew nut|noun|base|E0430044
    cashew nut|noun|sing|E0430044
    cashews|noun|plur|E0420703
    cashew|noun|base|E0420703
    cashew|noun|sing|E0420703
    -- Time (Java 7 - Base): 0.146405255
    == input term (cashe):
    cashed|verb|past_part|E0015477
    cashed|verb|past|E0015477
    cashes|verb|pres(thr_sing)|E0015477
    cashew nuts|noun|plur|E0430044
    cashew nut|noun|base|E0430044
    cashew nut|noun|sing|E0430044
    cashews|noun|plur|E0420703
    cashew|noun|base|E0420703
    cashew|noun|sing|E0420703
    -- Time (Java 8 - Base): 0.142167045
    == input term (cashe):
    cashed|verb|past_part|E0015477
    cashed|verb|past|E0015477
    cashes|verb|pres(thr_sing)|E0015477
    cashew nuts|noun|plur|E0430044
    cashew nut|noun|base|E0430044
    cashew nut|noun|sing|E0430044
    cashews|noun|plur|E0420703
    cashew|noun|base|E0420703
    cashew|noun|sing|E0420703
    -- Time (Java 8 - Base, parallel): 0.063698977
    ----- Program Ends ...