# Path: languages/utils.py
# def word_score(word, triple_scores):
#     triples = list(word_triples(word))
#     result = 0.0
#     for triple in triples:
#         result += triple_scores.get(triple, 0.0)
#     return result / len(triples)


from datetime import datetime
from google.appengine.ext import db
from django.core.urlresolvers import reverse
from languages.utils import word_score
        from languages import english, spanish, german, french
        from prefixes.popular import prefix_score, suffix_score




MAX_NAME_LENGTH = 12
DOMAIN_CHARS = 'abcdefghijklmnopqrstuvwxyz-0123456789'
OBSOLETE_ATTRIBUTES = """
scowl com net org dns_com dns_net dns_org dns_timestamp
""".split()
CACHE_ATTRIBUTES = """

# Path: languages/utils.py
# def word_score(word, triple_scores):
#     triples = list(word_triples(word))
#     result = 0.0
#     for triple in triples:
#         result += triple_scores.get(triple, 0.0)
#     return result / len(triples)


# Path: domains/models.py
from datetime import datetime
from google.appengine.ext import db
from django.core.urlresolvers import reverse
from languages.utils import word_score
        from languages import english, spanish, german, french
        from prefixes.popular import prefix_score, suffix_score





MAX_NAME_LENGTH = 12
DOMAIN_CHARS = 'abcdefghijklmnopqrstuvwxyz-0123456789'
OBSOLETE_ATTRIBUTES = """
scowl com net org dns_com dns_net dns_org dns_timestamp
""".split()
CACHE_ATTRIBUTES = """

digits dashes