module vs portion

module

noun
  • A section of a program; a subroutine or group of subroutines. 

  • A pre-prepared adventure scenario with related materials for a role-playing game. 

  • A contrivance for regulating the supply of water from an irrigation channel. 

  • An independent self-contained unit of a spacecraft. 

  • A unit of education covering a single topic. 

  • An abelian group equipped with the operation of multiplication by an element of a ring (or another of certain algebraic objects), representing a generalisation of the concept of vector space with scalar multiplication. 

  • A fractal element. 

  • A self-contained component of a system, often interchangeable, which has a well-defined interface to the other components. 

  • A file containing a music sequence that can be played in a tracker (called also mod or music module). 

  • A standard unit of measure used for determining the proportions of a building. 

portion

noun
  • That which is divided off or separated, as a part from a whole; a separated part of anything. 

  • An allocated amount. 

  • One's fate; lot. 

  • A wife's fortune; a dowry. 

  • The part of an estate given or falling to a child or heir; an inheritance. 

verb
  • To divide into amounts, as for allocation to specific purposes. 

  • To endow with a portion or inheritance. 

How often have the words module and portion occurred in a corpus of books? (source: Google Ngram Viewer )