Libraryless. Click here for Pure Java version (6252L/43K).
1 | sS ai_naturalWordType(S word) {
|
2 | if (isAdjective(word)) ret "adjective"; |
3 | if (isAdverb(word)) ret "adverb"; |
4 | if (isNoun(word)) ret "noun"; |
5 | null; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023515 |
| Snippet name: | ai_naturalWordType (or null) |
| Eternal ID of this version: | #1023515/1 |
| Text MD5: | 3fe2e26c112010abc5d6319abfaff7e6 |
| Transpilation MD5: | a737dbfc653be05c57f61937fa6c8158 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-06-26 17:11:52 |
| Source code size: | 156 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 477 / 603 |
| Referenced in: | [show references] |