<commit_before>loren.tk
========

Simple API to generate Lorem Ipsolum Text

**Usage** : http://loren.tk/ [COMAND] / [OPTION] / [OPTION]

Commands & options:
 
- http://loren.tk/w/qtd       - generates words
- http://loren.tk/c/min/max   - generates characters
- http://loren.tk/p/qtd/tag   - generates paragraphs
- http://loren.tk/r/          - generates random words
- http://loren.tk/            - generates 10 random words! (default)
- http://loren.tk/help        - this help. 


**Examples**

    <?php
    $loren = file_get_contents('http://loren.tk/p/10/1');
    
    echo $loren;
    //Generates 10 paragraphs with '<p>' tags.
 
    
Populate table in database mysql:
    
    <?php
    $pdo = new PDO('mysql:host=localhost;dbname=MyDbase;charset=UTF8', 'root', '******');
    $sth = $pdo->prepare('INSERT INTO yourtablename (yourTextCol) VALUES (:loren)');
    
    $sth->execute(array('loren'=>file_get_contents('http://loren.tk/w/1000')));
    
    
<commit_msg>beta 0.1<commit_after>loren.tk
========

Simple API to generate Lorem Ipsolum Text

**Usage** : http://loren.tk/ [COMAND] / [OPTION] / [OPTION]

Commands & options:
 
- http://loren.tk/w/qtd       - generates words
- http://loren.tk/c/min/max   - generates characters
- http://loren.tk/p/qtd/tag   - generates paragraphs
- http://loren.tk/r/          - generates random words
- http://loren.tk/            - generates 10 random words! (default)
- http://loren.tk/help        - this help. 


**Examples**

    <?php
    $loren = file_get_contents('http://loren.tk/p/10/1');
    
    echo $loren;
    //Generates 10 paragraphs with '<p>' tags.
 
    
Populate table in database mysql:
    
    <?php
    $pdo = new PDO('mysql:host=localhost;dbname=MyDbase;charset=UTF8', 'root', '******');
    $sth = $pdo->prepare('INSERT INTO table_name (column_name) VALUES (:loren)');
    
    $sth->execute(array('loren'=>file_get_contents('http://loren.tk/w/1000')));
    
    
Html iframe:

    . . .
    <iframe src="http://loren.tk/p/4/1"></iframe>
    . . .
{'fraction_non_alphanumeric': 0.18753092528451262, 'fraction_numerical': 0.013854527461652647, 'mean_word_length': 2.5724381625441697, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1478990', 'n_tokens_mistral': 757, 'n_tokens_neox': 715, 'n_words': 139}