Difference between revisions of "Nepali and English"

From Apertium
Jump to navigation Jump to search
Line 6: Line 6:


{|class="wikitable"
{|class="wikitable"
! English phrase !! Pattern !! Action !! Chunk output
! English phrase !! Pattern !! Notes !! Action !! Chunk output
|-
|-
| she || <code>prn</code> || - || <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>
|-
|-
| the book || <code>det_nom</code> || remove determiner || <code>nom<SN>{</code> book <code>}</code>
| a book || <code>det_nom</code> || indefinite || ||
|-
|-
| her book || <code>det_nom</code> || ||
| some books || <code>det_nom</code> || indefinite || ||
|-
| red book || <code>adj_nom</code> || - || <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 book || <code>det_nom</code> || definite || remove determiner || <code>nom<SN>{</code> book <code>}</code>
|-
|-
| her red book || <code>det_adj_nom</code> || ||
| this book || <code>det_nom</code> || demonstrative || ||
|-
|-
| on the table || <code>pr_det_nom</code> || remove determiner,<br/>move preposition || <code>nom_post<SN>{</code> table on <code>}</code>
| her book || <code>det_nom</code> || possessive || ||
|-
|-
| 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>
| red book || <code>adj_nom</code> || || - || <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> || || ||
|-
| on the table || <code>pr_det_nom</code> || || remove determiner,<br/>move preposition || <code>nom_post<SN>{</code> table 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>
|-
|-
|}
|}

Revision as of 10:27, 3 October 2008

placeholder

Rules

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
some books det_nom indefinite
the book det_nom definite remove determiner nom<SN>{ book }
this book det_nom demonstrative
her book det_nom possessive
red book adj_nom - adj_nom<SN>{ red book }
the red book det_adj_nom remove determiner adj_nom<SN>{ red book }
her red book det_adj_nom
on the table pr_det_nom remove determiner,
move preposition
nom_post<SN>{ table on }
in the red book pr_det_adj_nom remove determiner,
move preposition
adj_nom_post<SN>{ red book in }