GoConqr has a new look! Let us know what you think.

Flashcards

Python Programming for Text Analysis

Carien Geerlings Computer Science English 22 cards

Cards in this deck (22)

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

Information

Description
Computer Science Flashcards on Python Programming for Text Analysis, created by Carien Geerlings on 23/10/2021.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?