Nov
16
comment Assembly-generating macros in common lisp
I wasn't actively looking. Also, not all CL implementations generate native code (some compile to C or Java, for instance)
Nov
16
comment Assembly-generating macros in common lisp
You can take a look here: pvk.ca/Blog/2014/08/16/how-to-define-new-intrinsics-in-sbcl And here's an example usage: github.com/sionescu/swap-bytes/blob/master/sbcl-vops.lisp
Nov
15
revised How can I view the definition of a function in lisp (sbcl)?
fixing grammar
Nov
15
answered How can I view the definition of a function in lisp (sbcl)?
Oct
29
comment Merge lists in Lisp
you can use flatten on the resulting list (((2 3) 5) 10)
Oct
16
comment Preserve empty lines with NLTK's Punkt Tokenizer
for this case it just doesn't work :(
Oct
15
comment Preserve empty lines with NLTK's Punkt Tokenizer
regardless of NLTK use, you can just pre-split the text on newlines (multiple newlines) and then use NLTK on the resulting chunks
Oct
15
answered In LISP, how do I define a function that requires three arguments that are all Strings that is NOT a list?
Oct
8
comment How to get Emacs/Slime/SBCL to recognize quicklisp packages
can you provide your source file? (or at least the part with quickload and reference to cl-csv)
Oct
3
awarded Yearling
Oct
3
awarded Yearling
Sep
28
comment A Replace Function in Lisp That Duplicates Mathematica Functionality
I don't see a description of the Replace function there, however
Sep
27
comment A Replace Function in Lisp That Duplicates Mathematica Functionality
is there a grammar behind this? where's its spec?
Sep
21
comment A Replace Function in Lisp That Duplicates Mathematica Functionality
@William regex is pattern matching on strings. :)
Sep
18
revised A Replace Function in Lisp That Duplicates Mathematica Functionality
added 15 characters in body
Sep
18
comment NLP - Open Vocabulary Word Embedding
@farizrahman4u what do you think of using n-hot encoding (i.e. put 1s for all the words present in your input)?
Sep
18
comment NLP - Open Vocabulary Word Embedding
@farizrahman4u if you're interested in compound terms, I think you just need to add a composition "level" to your network. (I can elaborate on that, but you can probably find the relevant resources on your own.) However, if you are interested in the network to be able to represent arbitrary unseen words, I don't think it's a solvable problem with any technology because word sense in English, in general, is not defined by the characters or syllables comprising it.
Sep
18
answered A Replace Function in Lisp That Duplicates Mathematica Functionality
Sep
18
comment NLP - Open Vocabulary Word Embedding
How can you output a reasonable vector for a previously unseen word?
Sep
17
awarded Great Answer
1 2 3 4 5