"ProgrammingLanguage" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- ProgrammingLanguage
-
- Interpreter Types
- ProgrammingLanguage
- ComputedProgrammingLanguage
-
- Text Contents
- NotableComputer
- FileFormat
- URL
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- ProgrammingLanguage
-
- Interpreter Types
- ProgrammingLanguage
- ComputedProgrammingLanguage
-
- Text Contents
- NotableComputer
- FileFormat
- URL
- Related Guides
-
See Also
"ProgrammingLanguage" (Text Content Type)
Text identified as the name of a programming language.
Details
- "ProgrammingLanguage" can be used in TextCases, TextPosition and TextContents.
- "ProgrammingLanguage" corresponds to any mention of a programming language (real or not real) in the context of the text.
- Homonyms of programming languages that are not programming languages should not be detected as "ProgrammingLanguage" (if the context allows disambiguation).
- TextCases[…,"ProgrammingLanguage""Interpretation"] attempts to return entities of type "ProgrammingLanguage", as Interpreter["ProgrammingLanguage"] does.
- Any specific "ProgrammingLanguage" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of programming languages in a text:
TextCases["NET Framework, and three earlier attempts to provide interoperability between Lisp and Java: a Java foreign language interface for Common Lisp (jfli), A Foreign Object Interface for Lisp (FOIL), and a Lisp-friendly interface to Java Servlets (Lisplets).", "ProgrammingLanguage"]Get the result as a list of "ProgrammingLanguage" entities:
TextCases["NET Framework, and three earlier attempts to provide interoperability between Lisp and Java: a Java foreign language interface for Common Lisp (jfli), A Foreign Object Interface for Lisp (FOIL), and a Lisp-friendly interface to Java Servlets (Lisplets).", "ProgrammingLanguage" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["ProgrammingLanguage"] to text snippets:
Interpreter["ProgrammingLanguage"][{"Lisp", "Java", "Java"}]Get properties about occurrences of programming languages:
TextContents["NET Framework, and three earlier attempts to provide interoperability between Lisp and Java: a Java foreign language interface for Common Lisp (jfli), A Foreign Object Interface for Lisp (FOIL), and a Lisp-friendly interface to Java Servlets (Lisplets).", "ProgrammingLanguage", All]Find mentions of Clojure in a text:
TextContents["Rich Hickey is the creator of the Clojure language. Before Clojure, he developed dotLisp, a similar project based on the . NET Framework, and three earlier attempts to provide interoperability between Lisp and Java: a Java foreign language interface for Common Lisp (jfli), A Foreign Object Interface for Lisp (FOIL), and a Lisp-friendly interface to Java Servlets (Lisplets).", Entity["ProgrammingLanguage", "Clojure::6h8h3"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: ProgrammingLanguage
Interpreter Types: ProgrammingLanguage ComputedProgrammingLanguage
Text Contents: NotableComputer FileFormat URL