Difference between revisions of "Nepali and English"

From Apertium
Jump to navigation Jump to search
Line 46: Line 46:
| my very big red book || <code>det_preadv_adj_adj_nom</code> || possessive || || <code>prn_gen_preadv_adj_adj_nom<SN>{</code> me 's very big red book <code>}</code>
| my very big red book || <code>det_preadv_adj_adj_nom</code> || possessive || || <code>prn_gen_preadv_adj_adj_nom<SN>{</code> me 's very big red book <code>}</code>
|-
|-

|colspan=5|
;Phrase movement rules

{|class="wikitable"
! English phrase !! Chunk pattern !! Notes !! Action !! Chunk output
|-
|-
| on the table || <code>pr_det_nom</code> || || remove determiner,<br/>move preposition || <code>nom_post<SN>{</code> table in <code>}</code>
| on the table || <code>on<PR> nom<SN></code> || || move preposition || <code>nom<SN>{</code> table <code>} on<POST>{</code> on <code>}</code>
|-
|-
| in the red book || <code>pr_det_adj_nom</code> || || remove determiner,<br/>move preposition || <code>adj_nom_post<SN>{</code> red book in <code>}</code>
| in the red book || <code>in<PR> adj_nom<SN></code> || || move preposition || <code>adj_nom<SN>{</code> red book <code>} in<POST>{</code> in <code>}</code>
|-
|-
|}
|}

Revision as of 11:47, 4 October 2008

placeholder

Transfer

Local re-ordering and deletion

Phrase movement rules
English phrase Pattern Notes Action Chunk output
she prn personal - prn<SN>{ she }
book nom - nom<SN>{ book }
a book det_nom indefinite remove article nom<SN>{ book }
some books det_nom quantitative change noun to singula det_nom<SN>{ some book }
three books num_nom numeral
3 books num_nom numeral
the book det_nom definite remove determiner nom<SN>{ book }
this book det_nom demonstrative det_nom<SN>{ this book }
her book det_nom possessive prn_gen_nom<SN>{ she 's book }
red book adj_nom - adj_nom<SN>{ red book }
a red book det_adj_nom indefinite remove article adj_nom<SN>{ red book }
the red book det_adj_nom remove determiner adj_nom<SN>{ red book }
her red book det_adj_nom possessive prn_gen_adj_nom<SN>{ she 's red book }
this red book det_adj_nom demonstrative det_adj_nom<SN>{ this red book }
big red book adj_adj_nom adj_adj_nom<SN>{ big red book }
the big red book det_adj_adj_nom remove determiner adj_adj_nom<SN>{ big red book }
a very big red book det_preadv_adj_adj_nom indefinite preadv_adj_adj_nom<SN>{ very big red book }
the very big red book det_preadv_adj_adj_nom definite remove determiner preadv_adj_adj_nom<SN>{ very big red book }
my very big red book det_preadv_adj_adj_nom possessive prn_gen_preadv_adj_adj_nom<SN>{ me 's very big red book }
English phrase Chunk pattern Notes Action Chunk output
on the table on<PR> nom<SN> move preposition nom<SN>{ table } on<POST>{ on }
in the red book in<PR> adj_nom<SN> move preposition adj_nom<SN>{ red book } in<POST>{ in }