Giter Club home page Giter Club logo

goit_python_ds_hw_12's Introduction

Модуль 12. Основи NLP.

З циклу домашніх завдань Python Data Science.

Домашнє завдання

Зробіть summary нижчевказаного тексту використовуючи бібліотеки для NLP: nltk та SpaCy

The Orbiter Discovery, OV-103, is considered eligible for listing in the National Register of Historic Places (NRHP) in the context of the U.S. Space Shuttle Program (1969-2011) under Criterion A in the areas of Space Exploration and Transportation and under Criterion C in the area of Engineering. Because it has achieved significance within the past fifty years, Criteria Consideration G applies. Under Criterion A, Discovery is significant as the oldest of the three extant orbiter vehicles constructed for the Space Shuttle Program (SSP), the longest running American space program to date; she was the third of five orbiters built by NASA. Unlike the Mercury, Gemini, and Apollo programs, the SSP’s emphasis was on cost effectiveness and reusability, and eventually the construction of a space station. Including her maiden voyage (launched August 30, 1984), Discovery flew to space thirty-nine times, more than any of the other four orbiters; she was also the first orbiter to fly twenty missions. She had the honor of being chosen as the Return to Flight vehicle after both the Challenger and Columbia accidents. Discovery was the first shuttle to fly with the redesigned SRBs, a result of the Challenger accident, and the first shuttle to fly with the Phase II and Block I SSME. Discovery also carried the Hubble Space Telescope to orbit and performed two of the five servicing missions to the observatory. She flew the first and last dedicated Department of Defense (DoD) missions, as well as the first unclassified defense-related mission. In addition, Discovery was vital to the construction of the International Space Station (ISS); she flew thirteen of the thirty-seven total missions flown to the station by a U.S. Space Shuttle. She was the first orbiter to dock to the ISS, and the first to perform an exchange of a resident crew. Under Criterion C, Discovery is significant as a feat of engineering. According to Wayne Hale, a flight director from Johnson Space Center, the Space Shuttle orbiter represents a “huge technological leap from expendable rockets and capsules to a reusable, winged, hypersonic, cargo-carrying spacecraft.” Although her base structure followed a conventional aircraft design, she used advanced materials that both minimized her weight for cargo-carrying purposes and featured low thermal expansion ratios, which provided a stable base for her Thermal Protection System (TPS) materials. The Space Shuttle orbiter also featured the first reusable TPS; all previous spaceflight vehicles had a single-use, ablative heat shield. Other notable engineering achievements of the orbiter included the first reusable orbital propulsion system, and the first two-fault-tolerant Integrated Avionics System. As Hale stated, the Space Shuttle remains “the largest, fastest, winged hypersonic aircraft in history,” having regularly flown at twenty-five times the speed of sound.

Виконання

goit_python_ds_hw_12.ipynb

Colab goit_python_ds_hw_12.ipynb

Висновок

Завдання було на онсові тексту створити короткий зміст цього тексту.

Для фрмування короткого тексту було вибрано 4 речення, на основі аналізу частоти вживання слів у цих реченнях.

В результаті роботи було викорисанно декілька підходів з викорисатнням різних бібліотек nltk та spaCy.

В результаті було отрманно однаковий результат summary з 4-х речень:

The Orbiter Discovery, OV-103, is considered eligible for listing in the National Register of Historic Places (NRHP) in the context of the U.S. Space Shuttle Program (1969-2011) under Criterion A in the areas of Space Exploration and Transportation and under Criterion C in the area of Engineering.
Under Criterion A, Discovery is significant as the oldest of the three extant orbiter vehicles constructed for the Space Shuttle Program (SSP), the longest running American space program to date; she was the third of five orbiters built by NASA.
In addition, Discovery was vital to the construction of the International Space Station (ISS); she flew thirteen of the thirty-seven total missions flown to the station by a U.S. Space Shuttle.
According to Wayne Hale, a flight director from Johnson Space Center, the Space Shuttle orbiter represents a “huge technological leap from expendable rockets and capsules to a reusable, winged, hypersonic, cargo-carrying spacecraft.

Переклад стислого змісту ситемою автоматичного прекладу DeepL:

Орбітальний корабель "Діскавері" (OV-103) вважається таким, що має право на внесення до Національного реєстру історичних місць (NRHP) в контексті Програми космічних човників США (1969-2011 рр.) за критерієм А в галузі космічних досліджень і транспорту та за критерієм С в галузі інженерії.
За критерієм А "Діскавері" має важливе значення як найстаріший з трьох збережених орбітальних кораблів, побудованих для програми "Спейс Шаттл" (SSP), найдовшої американської космічної програми на сьогоднішній день; вона була третім з п'яти орбітальних кораблів, побудованих NASA.
Крім того, "Діскавері" відіграла важливу роль у будівництві Міжнародної космічної станції (МКС); вона здійснила тринадцять з тридцяти семи польотів на станцію за допомогою американських шатлів.
За словами Вейна Хейла, керівника польотів Космічного центру імені Джонсона, орбітальний корабель "Спейс Шаттл" являє собою "величезний технологічний стрибок від одноразових ракет і капсул до багаторазового, крилатого, гіперзвукового, вантажного космічного корабля.

Додаткова версія для української мови

goit_python_ds_hw_12_UA.ipynb

Colab goit_python_ds_hw_12_UA.ipynb

"Discovery" став першим шатлом, який полетів з модернізованими SRB, що були розроблені після аварії "Challenger", і першим шатлом, який полетів з SSME Фази II і Блоку I. "Discovery " також доставив на орбіту космічний телескоп "Hubble " і здійснив дві з п'яти місій з обслуговування обсерваторії.
Відповідно до Критерію А, "Discovery" є важливим як найстаріший з трьох збережених орбітальних кораблів, побудованих для програми "Space Shuttle" (SSP), найдовшої американської космічної програми на сьогоднішній день; він був третім з п'яти орбітальних кораблів, побудованих NASA.
Орбітальний корабель "Discovery", OV-103, вважається таким, що має право на внесення до Національного реєстру історичних місць (NRHP) в контексті Програми космічних човників США (1969-2011) за критерієм A в галузі космічних досліджень і транспорту та за критерієм C в галузі інженерії.
За словами Вейна Хейла, керівника польотів з Космічного центру імені Джонсона, орбітальний корабель "Space Shuttle" являє собою "величезний технологічний стрибок від одноразових ракет і капсул до багаторазового, крилатого, гіперзвукового космічного корабля, що несе вантаж".

У продовженні експерементів була спроба використати lemma властивості слова для побудови словника частот

{'корабель': 13, 'орбітальний': 10, 'космічний': 10, 'перший': 10, 'discovery': 7, 'політ': 6, 'здійснити': 6, 'критерій': 5, 'програма': 4, 'space': 4, 'shuttle': 4, 'багаторазовий': 4, 'станція': 4, 'місія': 4, 'мати': 3, 'система': 3, 'човник': 2, 'сша': 2, 'галуза': 2, 'останній': 2, 'важливий': 2, 'побудований': 2, 'ssp': 2, 'американський': 2, "п'ять": 2, 'літати': 2, 'тридцять': 2, 'раз': 2, 'аварія': 2, 'оборона': 2, 'мкс': 2, 'інженерний': 2, 'слово': 2, 'хейла': 2, 'одноразовий': 2, ....
{'корабель': 13, 'кораблів': 13, 'кораблем': 13, 'корабля': 13, 'кораблі': 13, 'орбітальний': 10, 'космічних': 10, 'орбітальних': 10, 'космічної': 10, 'першим': 10, 'орбітальним': 10, 'космічний': 10, 'першу': 10, 'космічного': 10, 'орбітальному': 10, 'перша': 10, 'космічні': 10, 'орбітального': 10, 'орбітальна': 10, 'discovery': 7, 'політ': 6, 'здійснив': 6, 'польотів': 6, 'критерієм': 5, 'критерію': 5, 'програми': 4, 'space': 4, 'shuttle': 4, 'програм': 4, 'багаторазовому': 4, 'станції': 4, 'місій': 4, 'місії': 4, 'місію': 4, ...

В результаті отрмано такий стислий зміст:

"Discovery" став першим кораблем, який здійснив політ з модернізованими SRB після аварії "Челленджера", і першим кораблем, який здійснив політ з SSME Фази II і Блоку I. "Discovery " також доставив на орбіту космічний телескоп "Hubble" і здійснив дві з п'яти місій з обслуговування обсерваторії.
Відповідно до Критерію А, "Discovery" є важливим як найстаріший з трьох збережених орбітальних кораблів, побудованих для програми "Space Shuttle" (SSP), найдовшої американської космічної програми на сьогоднішній день; він був третім з п'яти орбітальних кораблів, побудованих NASA.
За словами Вейна Хейла, керівника польотів з Космічного центру імені Джонсона, орбітальний корабель "Space Shuttle" являє собою "величезний технологічний стрибок від одноразових ракет і капсул до багаторазового, крилатого, гіперзвукового космічного корабля, що несе вантаж".
Включаючи свій перший політ (запущений 30 серпня 1984 року), "Discovery" літав у космос тридцять дев'ять разів, більше, ніж будь-який з інших чотирьох орбітальних кораблів; він також був першим орбітальним кораблем, який здійснив двадцять місій.

goit_python_ds_hw_12's People

Contributors

lexxai avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.