langchain.text_splitter
.Language¶
- class langchain.text_splitter.Language(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Enum of the programming languages.
- CPP = 'cpp'¶
- GO = 'go'¶
- JAVA = 'java'¶
- KOTLIN = 'kotlin'¶
- JS = 'js'¶
- TS = 'ts'¶
- PHP = 'php'¶
- PROTO = 'proto'¶
- PYTHON = 'python'¶
- RST = 'rst'¶
- RUBY = 'ruby'¶
- RUST = 'rust'¶
- SCALA = 'scala'¶
- SWIFT = 'swift'¶
- MARKDOWN = 'markdown'¶
- LATEX = 'latex'¶
- HTML = 'html'¶
- SOL = 'sol'¶
- CSHARP = 'csharp'¶
- COBOL = 'cobol'¶