Displaying 2 results from an estimated 2 matches for "mydict".
2010 Oct 13
2
list comprehension to create an arbitrary-sized list with arbitrary names/values
In python, one can do this
mydict = dict([(keyfun(x), valfun(x)) for x in mylist])
to create a dictionary with whatever keys and values we want from an
input list of arbitrary size. In R, I want to similarly create a list
with names/values that are generated by some keyfun and valfun
(assuming that keyfun is guaranteed to return s...
2009 May 06
1
Asterisk with Sphinx
...nknown phone 'AH0'
ERROR: "dict.c", line 440: Failed to add hello to dictionary
ERROR: "dict.c", line 556: 'hello(1)': Unknown phone 'EH0'
ERROR: "dict.c", line 440: Failed to add hello(1) to dictionary
INFO: dict.c(494): 0 = words in file [mydict]
Restart checking timeout (1241647848 - 1241647845 > 2), 28
DIFF: 1.500000, LIMIT: 7.500000, RESTARTS: 18.666666
Spawning too quickly
Killed