Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1002831 // Any X here?

Simplified Natural Language

1  
[
2  
if [* < says < any < Xs < here]
3  
and [i < am < a < X]
4  
and [X < is < the < singular < of < Xs]
5  
say [! < i < am < a < X]
6  
]
7  
8  
[
9  
if   [Xs < is < the < plural < of < X]
10  
then [X < is < the < singular < of < Xs]
11  
]
12  
13  
[
14  
if   [Xs = concat(X, "s")]
15  
then [Xs < is < the < plural < of < X]
16  
]

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002831
Snippet name: Any X here?
Eternal ID of this version: #1002831/1
Text MD5: a63451ba817377f9e8d064f3a79eec0c
Author: stefan
Category:
Type: Simplified Natural Language
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-29 04:18:44
Source code size: 294 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 115
Referenced in: [show references]