1.0.1 • Published 2 years ago

nv-random-sentence v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nv-random-sentence

  • nv-random-sentence
  • creat random word/sentence for inserting into database
  • used for test bed
  • the sentence is meaning-less AND inaccurate(grammar is NOT correct,just a rough match)

install

  • npm install nv-random-sentence

usage

 const rnd_sen = require("nv-random-sentence")

example

    > rnd_sen.JN_
    'monoclinous_starter'
    > rnd_sen.JN_
    'tother_cytokine'
    > rnd_sen.JN_
    'motile_turps'
    > rnd_sen.JN_
    'antidemocratic_uprising'
    > rnd_sen.JN_
    'ceaseless_peristyle'
    > rnd_sen.JN_
    'enlisted_euchre'
    >
    >
    > rnd_sen.NVNC_
    'coalification_laminate_stuart_providing'
    > rnd_sen.NVNC_
    'phosphorism_insert_preamplifier_whereof'
    > rnd_sen.NVNC_
    'vav_conceal_chancellor_et'
    > rnd_sen.NVNC_
    'collet_lop_quietude_although'
    >
    > rnd_sen.NVN_
    'meathead_whelm_pignolia'
    > rnd_sen.NVN_
    'mirabelle_dehumidify_fetoscope'
    > rnd_sen.NVN_
    'urushiol_importune_pyoderma'
    > rnd_sen.NVN_
    'afghani_graecize_trade'
    > rnd_sen.NVN_
    'compellation_hijack_era'
    > rnd_sen.NVN_
    'mussel_overshoot_striction'
    >

APIS

        rnd_sen.C_           //conj           
        rnd_sen.DJN_         //adv-adj-noun
        rnd_sen.D_           //adv         
        rnd_sen.I_           //vi         
        rnd_sen.JN_          //adj-noun
        rnd_sen.J_           //adj         
        rnd_sen.NIJ_         //S-V-COM
        rnd_sen.NIN_         //S-V-COM         
        rnd_sen.NI_          // S-V         
        rnd_sen.NVNC_        // S-V-DO-COM
        rnd_sen.NVNN_        // S-V-IO-DO        
        rnd_sen.NVN_         // S-V-O         
        rnd_sen.NW_          //noun + would-like
        rnd_sen.N_           //noun         
        rnd_sen.O_           //pron        
        rnd_sen.P_           //pl
        rnd_sen.R_           //prep         
        rnd_sen.T_           //interj          
        rnd_sen.V_           //vt

        rnd_sen.creat(ptrn)

LICENSE

  • ISC