Retrieve category and inflection for all terms begins with the given word

I. Lvg Command:

shell> lvg -f:Lp

II. Test Cases:

cashe|cashed|1024|32|Lp|1|
cashe|cashed|1024|64|Lp|1|
cashe|cashes|1024|128|Lp|1|
cashe|cashew|128|1|Lp|1|
cashe|cashew|128|512|Lp|1|
cashe|cashew nut|128|1|Lp|1|
cashe|cashew nut|128|512|Lp|1|
cashe|cashew nuts|128|8|Lp|1|
cashe|cashews|128|8|Lp|1|
fascial|fascial|1|1|Lp|1|
fascial|fascial|1|256|Lp|1|
fascial|fascial fibro-sarcoma|128|1|Lp|1|
fascial|fascial fibro-sarcoma|128|512|Lp|1|
fascial|fascial fibro-sarcomas|128|8|Lp|1|
fascial|fascial fibro-sarcomata|128|8|Lp|1|
fascial|fascial fibrosarcoma|128|1|Lp|1|
fascial|fascial fibrosarcoma|128|512|Lp|1|
fascial|fascial fibrosarcomas|128|8|Lp|1|
fascial|fascial fibrosarcomata|128|8|Lp|1|
fascial|fascial sarcoma|128|1|Lp|1|
fascial|fascial sarcoma|128|512|Lp|1|
fascial|fascial sarcomas|128|8|Lp|1|
fascial|fascial sarcomata|128|8|Lp|1|
fascial|fascially|2|1|Lp|1|
fascial|fascially|2|256|Lp|1|
grating|grating|1|1|Lp|1|
grating|grating|1|256|Lp|1|
grating|grating|128|1|Lp|1|
grating|grating|128|512|Lp|1|
grating|grating|1024|16|Lp|1|
grating|gratings|128|8|Lp|1|
laurent|Laurentian|1|1|Lp|1|
laurent|Laurentian|1|256|Lp|1|
laurent|Laurentians|128|1|Lp|1|
laurent|Laurentians|128|8|Lp|1|