Difference between revisions of "Nepali and English"

From Apertium
Jump to navigation Jump to search
Line 8: Line 8:
! English phrase !! Pattern !! Notes !! Action !! Chunk output
! English phrase !! Pattern !! Notes !! Action !! Chunk output
|-
|-
| she || <code>prn</code> || personal || - || <code>prn<SN>{</code> she <code>}</code>
| she || <code>prn</code> || personal || - || <code>prn<SN>{</code> she <code>}</code>
|-
|-
| book || <code>nom</code> || || - || <code>nom<SN>{</code> book <code>}</code>
| book || <code>nom</code> || || - || <code>nom<SN>{</code> book <code>}</code>
|-
|-
| a book || <code>det_nom</code> || indefinite || ||
| a book || <code>det_nom</code> || indefinite || remove 'a' || <code>nom<SN>{</code> book <code>}</code>
|-
|-
| some books || <code>det_nom</code> || quantitative || ||
| some books || <code>det_nom</code> || quantitative || || <code>nom<SN>{</code> some book <code>}</code>
|-
|-
| the book || <code>det_nom</code> || definite || remove determiner || <code>nom<SN>{</code> book <code>}</code>
| the book || <code>det_nom</code> || definite || remove determiner || <code>nom<SN>{</code> book <code>}</code>
|-
|-
| this book || <code>det_nom</code> || demonstrative || ||
| this book || <code>det_nom</code> || demonstrative || || <code>nom<SN>{</code> this book <code>}</code>
|-
|-
| her book || <code>det_nom</code> || possessive || ||
| her book || <code>det_nom</code> || possessive || || <code>nom<SN>{</code> she's book <code>}</code>
|-
|-
| red book || <code>adj_nom</code> || || - || <code>adj_nom<SN>{</code> red book <code>}</code>
| red book || <code>adj_nom</code> || || - || <code>adj_nom<SN>{</code> red book <code>}</code>
|-
|-
| a red book || <code>det_adj_nom</code> || indefinite || ||
| a red book || <code>det_adj_nom</code> || indefinite || remove 'a' || <code>adj_nom<SN>{</code> red book <code>}</code>
|-
|-
| the red book || <code>det_adj_nom</code> || || remove determiner || <code>adj_nom<SN>{</code> red book <code>}</code>
| the red book || <code>det_adj_nom</code> || || remove determiner || <code>adj_nom<SN>{</code> red book <code>}</code>
|-
|-
| her red book || <code>det_adj_nom</code> || possessive || ||
| her red book || <code>det_adj_nom</code> || possessive || || <code>adj_nom<SN>{</code> she's red book <code>}</code>
|-
|-
| this red book || <code>det_adj_nom</code> || demonstrative || ||
| this red book || <code>det_adj_nom</code> || demonstrative || || <code>nom<SN>{</code> this red book <code>}</code>
|-
|-
| big red book || <code>adj_adj_nom</code> || || ||
| big red book || <code>adj_adj_nom</code> || || || <code>nom<SN>{</code> big red book <code>}</code>
|-
|-
| the big red book || <code>det_adj_adj_nom</code> || || ||
| the big red book || <code>det_adj_adj_nom</code> || || remove determiner || <code>nom<SN>{</code> big red book <code>}</code>
|-
|-
| a very big red book || <code>det_preadv_adj_adj_nom</code> || indefinite || ||
| a very big red book || <code>det_preadv_adj_adj_nom</code> || indefinite || || <code>nom<SN>{</code> very big red book <code>}</code>
|-
|-
| the very big red book || <code>det_preadv_adj_adj_nom</code> || definite || ||
| the very big red book || <code>det_preadv_adj_adj_nom</code> || definite || remove determiner || <code>nom<SN>{</code> very big red book <code>}</code>
|-
|-
| my very big red book || <code>det_preadv_adj_adj_nom</code> || possessive || ||
| my very big red book || <code>det_preadv_adj_adj_nom</code> || possessive || || <code>nom<SN>{</code> my very big red book <code>}</code>
|-
|-
|colspan=5|
|colspan=5|
|-
|-
| on the table || <code>pr_det_nom</code> || || remove determiner,<br/>move preposition || <code>nom_post<SN>{</code> table on <code>}</code>
| on the table || <code>pr_det_nom</code> || || remove determiner,<br/>move preposition || <code>nom_post<SN>{</code> table in <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>pr_det_adj_nom</code> || || remove determiner,<br/>move preposition || <code>adj_nom_post<SN>{</code> red book in <code>}</code>

Revision as of 12:19, 3 October 2008

placeholder

Transfer

Local re-ordering and deletion

English phrase Pattern Notes Action Chunk output
she prn personal - prn<SN>{ she }
book nom - nom<SN>{ book }
a book det_nom indefinite remove 'a' nom<SN>{ book }
some books det_nom quantitative nom<SN>{ some book }
the book det_nom definite remove determiner nom<SN>{ book }
this book det_nom demonstrative nom<SN>{ this book }
her book det_nom possessive nom<SN>{ she's book }
red book adj_nom - adj_nom<SN>{ red book }
a red book det_adj_nom indefinite remove 'a' 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 adj_nom<SN>{ she's red book }
this red book det_adj_nom demonstrative nom<SN>{ this red book }
big red book adj_adj_nom nom<SN>{ big red book }
the big red book det_adj_adj_nom remove determiner nom<SN>{ big red book }
a very big red book det_preadv_adj_adj_nom indefinite nom<SN>{ very big red book }
the very big red book det_preadv_adj_adj_nom definite remove determiner nom<SN>{ very big red book }
my very big red book det_preadv_adj_adj_nom possessive nom<SN>{ my very big red book }
on the table pr_det_nom remove determiner,
move preposition
nom_post<SN>{ table in }
in the red book pr_det_adj_nom remove determiner,
move preposition
adj_nom_post<SN>{ red book in }