forked from GitHub/gf-core
mp3 example
This commit is contained in:
24
examples/mp3/MP3I.gf
Normal file
24
examples/mp3/MP3I.gf
Normal file
@@ -0,0 +1,24 @@
|
||||
--# -path=.:resource-0.6/english:resource-0.6/abstract:prelude
|
||||
|
||||
incomplete concrete MP3I of MP3 = open Structural, Lexicon in {
|
||||
|
||||
flags startcat=Move ;
|
||||
|
||||
lincat
|
||||
Move = Phr ;
|
||||
Song = NP ;
|
||||
|
||||
lin
|
||||
Play song = ImperOne (ImperVP (PosVG (PredTV play song))) ;
|
||||
CanPlay song = QuestPhrase (QuestVP ThouNP (PosVG (PredVV CanVV (PredTV play song)))) ;
|
||||
WantPlay song = IndicPhrase (PredVP INP (PosVG (PredVV WantVV (PredTV play song)))) ;
|
||||
WhichPlay = QuestPhrase (IntVP (NounIPOne (UseN song)) (PosVG (PredPassV (VTrans play)))) ;
|
||||
|
||||
ThisSong = DetNP ThisDet (UseN song) ;
|
||||
This = ThisNP ;
|
||||
|
||||
Yesterday = yesterday ;
|
||||
|
||||
---- MkSong : String -> Song ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user