represents a function to be applied to a string to generate possible completions.


AutocompletionFunction
represents a function to be applied to a string to generate possible completions.
Details

- AutocompletionFunction works like Function.
- AutocompletionFunction[…] is generated by Autocomplete[comps].
- AutocompletionFunction[…]["string"] yields a list of completions of string.
Examples
Basic Examples (2)
Create an AutocompletionFunction with Autocomplete and a list of words:
Give additional metadata to Autocomplete:
See Also
History
Text
Wolfram Research (2015), AutocompletionFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/AutocompletionFunction.html.
CMS
Wolfram Language. 2015. "AutocompletionFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AutocompletionFunction.html.
APA
Wolfram Language. (2015). AutocompletionFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AutocompletionFunction.html
BibTeX
@misc{reference.wolfram_2025_autocompletionfunction, author="Wolfram Research", title="{AutocompletionFunction}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AutocompletionFunction.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_autocompletionfunction, organization={Wolfram Research}, title={AutocompletionFunction}, year={2015}, url={https://reference.wolfram.com/language/ref/AutocompletionFunction.html}, note=[Accessed: 08-August-2025]}