You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
988 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

From text to speech: The MITalk system
THEN assign (NOUN (NUM SING))
END IF
ELSEIF last morph is S
THEN assign (NOUN (POSS TR))
ELSEIF last morph is S
THEN IF next morph is a NOUN
THEN assign (NOUN (POSS TR)),
copy (NOUN (CONTR TR))
ELSEIF next morph is a PRN
THEN copy (PRN (CONTR TR))
IF next morph has feature (PRNADJ TR)
THEN copy (PRN (CASE POSS))
ENDIF
ENDIF
ELSEIF last morph is NT
THEN IF next morph is NEED
THEN assign (MOD (AUX A) (NOT TR))
ELSEIF next morph is a BE
THEN copy (BE (NOT TR))
ELSEIF next morph is a HAVE
THEN copy (HAVE (NOT TR))
ELSEIF next morph is a MOD
THEN copy (MOD (NOT TR))
ENDIF
ELSEIF last morph is *VE
AND next morph is a MOD
THEN copy (MOD (CONTR TR))
ELSEIF last morph is *VE, °D, °LL, or RE
THEN IF next morph is S
THEN assign (NOUN (NUM PL) (CONTR TR))
ELSEIF next morph is a NOUN
THEN copy (NOUN (CONTR TR))
ELSEIF next morph is a PRN
THEN copy (PRN (CONTR TR))
ENDIF |
ELSE assign part of speech from rightmost morph
ENDIF
178