Karteikarten
Python Programming for Text Analysis
Karten in diesem Stapel (22)
- 1CastingConverting to another type
- 2Dynamic typingVariables can change datatype
- 3Coercionautomatically changes datatype
- 4Implicit type conversionautomatically changes datatype
- 5Literal String Interpolationprocess of injecting value into a placeholder
- 6positional parameters are..compulsory
- 7Keyword parameters are...optional
- 8Counts per word - modulefrom collections import counter
- 96 good reasons for functionsEncapsulation
Generalization
Manageability
Maintainability
Reusability
Recursion - 10ParameterIn function definition
- 11Argumentvariable in function call
- 12assert-statementassert actual == expected, message
- 13Check global things with....dir()
- 14/ meansroot of current drive
- 15/. meanscurrent directory
- 16../parent of current directory
- 172 ways to readread() read whole text
readlines() reads line per line (list) - 18context managerwith open(file, mode) as infile:
- 192 models for dealing with files?os & glob
- 20* and ? are how many chars?all and 1
- 21NLTK module can doTokenization
Sentence Splitting
POS-tagging
Lemmatization - 22CSV / JSON / XML > full nameComma Separated Values
JavaScript Object Notation
eXtensive Markup Language
Informationen
- Beschreibung
- Computer Science Karteikarten am Python Programming for Text Analysis, erstellt von Carien Geerlings am 23/10/2021.
- Erstellt von
- Carien Geerlings
- Aufrufe
- 0
- Bewertung