summaryrefslogtreecommitdiff
path: root/utils.py
blob: c5e020f097b391184801c1361a6c9228bf7bb912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from consts import SN, SN_

def NS(n):
    """Noun sexiness function
    Returns a real value measure of the maximum similarity a noun `n not in SN`
    has to each of the `nouns in SN_`
    """
    for noun in SN_:
        acv = ()
        # let acv be the vector of absolute frequencies of each adjective that
        # modifies the noun in the union of the erotica and Brown corpora
    return 0