<commit_before>package DDG::Spice::Local;

use DDG::Spice;

spice to => 'https://12192.168.127.12/local.js?q=$1&cb=ddg_spice_local';

triggers any => (
    'near',
    'local',
    'near me',
    'around',
    'here',
    'locally',
    'nearby',
    'close',
    'closest',
    'nearest',
);

handle remainder => sub { $_ };

1;
<commit_msg>DDG::Spice::Local: add /locations?/ to triggers.<commit_after>package DDG::Spice::Local;

use DDG::Spice;

spice to => 'https://12192.168.127.12/local.js?q=$1&cb=ddg_spice_local';

triggers any => (
    'near',
    'local',
    'near me',
    'around',
    'here',
    'locally',
    'nearby',
    'close',
    'closest',
    'nearest',
    'locations',
    'location',
);

handle remainder => sub { return $_ if $_ };

1;

{'fraction_non_alphanumeric': 0.2065359477124183, 'fraction_numerical': 0.0392156862745098, 'mean_word_length': 3.052910052910053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6236821', 'n_tokens_mistral': 337, 'n_tokens_neox': 307, 'n_words': 56}