<commit_before>ppa "berekuk/ubic"

# FIXME - we must do 'apt-get update' first!
# provisioning will fail and you'll have to fix it manually
package "ubic"

execute "setup ubic" do
    command "ubic-admin setup --batch-mode"
    not_if "test -f /etc/ubic.cfg"
end<commit_msg>extra apt-get update in ubic cookbook<commit_after>ppa "berekuk/ubic"

execute "ubic apt-get update" do
    command "apt-get update"
    not_if "apt-cache policy ubic | grep Candidate"
end

package "ubic"

#execute "setup ubic" do
#    command "ubic-admin setup --batch-mode"
#    not_if "test -f /etc/ubic.cfg"
#end
{'fraction_non_alphanumeric': 0.1135593220338983, 'fraction_numerical': 0.0, 'mean_word_length': 3.6535433070866143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5504585', 'n_tokens_mistral': 214, 'n_tokens_neox': 215, 'n_words': 70}