liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Lightweight Text Visualization for Close and Distant Reading
Linköping University, Department of Science and Technology.
2026 (English)Independent thesis Advanced level (degree of Master (One Year)), 20 credits / 30 HE creditsStudent thesisAlternative title
Webbaserad textvisualisering för kort- och långdistansläsning (Swedish)
Abstract [en]

Analysis of larger corpora or longer documents can be time-consuming and given current tools for it, difficult for many users. Document and corpus analysis in this context refers to the process of providing users with both close and distant reading representations of individual documents and corpora. This thesis explores the design and development of a text analysis tool with close and distant reading representations and with the goal doing this with lightweight approach and with generalized language support. Additionally, the target user base for this thesis has been widened to encompass more than people with deep understanding of text visualization, done to address the slim scope of earlier tools. To accomplish the goal of the thesis and answer its research questions, several objectives were defined, and the work was split into implementation and evaluation phases. This split was done with an iterative process in mind, where an initial prototype was tested and evaluated, with a second prototype implemented based on the evaluation, and so on for further prototypes. To limit the thesis work, however, the objectives were defined to only encompass a first, second, and potential final prototype. The tool was developed as a web-based tool with JavaScript, relying on D3.js for the drawing of visual elements. The tool was developed with a component-based approach where each view visualized different data about singular documents within a corpus or the entire corpus itself. Within this interface was the close reading view which wrote out the text of the selected document in plain text, with possibility for word highlighting and selection from the user. In addition to this were views for word frequencies, showing the number of occurrences each word had in the document, and word trends, showing how significant specific words were in specific segments of the document. A provided corpus could also be visualized through a card-based corpus overview, and the more data-centric node view, representing how similar documents were in the corpus. For further explanation on the similarity between documents, a similarity overview was also added, accessible on clicks on the node view edges. The evaluation process, on the other hand, was done through result collection on different tests, both with and without users. The user-free tests aimed to find results on the inner workings of the tool and was conducted during the implementation phase to find results which were not part of the user tests and to find possible faults to fix during the user tests. The user tests were instead conducted to find results related to the usability of the tool, both measured and perceived by the participants. These test phases gave results on the processing times within the tool, showing which NLP methods were preferable from a performance perspective, and how the different methods represented the data. Additionally, the results highlighted strengths and weaknesses within the tool given the quantitative and qualitative data from the user tests. The reasons behind these results were evaluated and discussed to implement a second prototype addressing shortcomings of the first prototype. This second prototype, the discussion leaning up to it and the thesis results was then compared to the Objectives of the thesis, along with being used to answer the proposed Research Questions. Lastly, with the differences between the second prototype and the discussed improvements, a direction for the tool in the future was defined. This also covered uncompleted Objectives and answers to the Research Questions which were deemed to be less direct compared to other answers.

Abstract [sv]

Analys av större korpusar eller längre dokument kan vara tidskrävande och med de nuvarande verktygen för det, svårt för många användare. Dokument- och korpusanalys i detta sammanhang avser processen att ge användare både kort- och långdistansläsning av individuella dokument och korpusar. Denna rapport utforskar design och utveckling av ett textanalysverktyg med representationer för både kort- och långdistansläsning, med målet att göra detta med en webbaserad lösning samt med generaliserat språkstöd. Dessutom har målgruppen för denna rapport utvidgats för att omfatta fler än personer med djup förståelse för textvisualisering, vilket gjorts för att åtgärda det begränsade omfånget hos tidigare verktyg. För att uppnå målet med avhandlingen och besvara dess forskningsfrågor definierades flera mål och arbetet delades upp i implementerings- och utvärderingsfaser. Denna uppdelning gjordes med en iterativ process i åtanke, där en initial prototyp testades och utvärderades, med en andra prototyp implementerad baserat på utvärderingen, och så vidare för ytterligare prototyper. För att begränsa avhandlingsarbetet definierades dock målen så att de endast omfattade en första, andra och potentiell slutlig prototyp. Verktyget utvecklades som ett webbaserat verktyg med JavaScript, som förlitade sig på D3.js för ritning av visuella element. Verktyget utvecklades med en komponentbaserad metod där varje vy visualiserade olika data om enskilda dokument inom en korpus eller hela korpusen själv. Inom detta gränssnitt fanns en kortdistansläsningsvy som skrev ut texten från det valda dokumentet i ren text, med möjlighet för användaren att markera och välja ord. Utöver detta fanns det vyer för ordfrekvenser, som visade antalet förekomster av varje ord i dokumentet, och ordtrender, som visade hur betydelsefulla specifika ord var i specifika segment av dokumentet. En tillhandahållen korpus kunde också visualiseras genom en kortbaserad korpusöversikt och den mer datacentriska nodvyn, som representerade hur lika dokument var i korpusen. För ytterligare förklaring av likheten mellan dokumenten, lades även en översikt över likhet till, som är tillgänglig vid klick på nodvyns kanter. Utvärderingsprocessen å sin sida genomfördes genom insamling av resultat från olika tester, både med och utan användare. De användarfria testerna syftade till att hitta resultat om verktygets inre funktioner och genomfördes under implementeringsfasen för att hitta resultat som inte var en del av användartesterna och för att hitta möjliga fel att åtgärda under användartesterna. Användartesterna genomfördes istället för att hitta resultat relaterade till verktygets användbarhet, både mätta och upplevda av deltagarna. Dessa testfaser gav resultat på bearbetningstiderna inom verktyget, vilket visade vilka NLP-metoder som var att föredra ur ett prestandaperspektiv, och hur de olika metoderna representerade informationen. Dessutom framhävde resultaten styrkor och svagheter inom verktyget baserat på de kvantitativa och kvalitativa uppgifterna från användartesterna. Orsakerna bakom dessa resultat utvärderades och diskuterades för att implementera en andra prototyp som åtgärdar bristerna i den första prototypen. Denna andra prototyp, diskussionen som ledde fram till den och avhandlingsresultaten jämfördes sedan med avhandlingens mål, samt användes för att besvara de föreslagna forskningsfrågorna. Slutligen, med skillnaderna mellan den andra prototypen och de diskuterade förbättringarna, definierades en riktning för verktyget i framtiden. Detta omfattade också ofullständiga mål och svar på forskningsfrågor som ansågs vara mindre direkta jämfört med andra svar.

Place, publisher, year, edition, pages
2026. , p. 78
Keywords [en]
Text visualization, Simple natural language processing, Web-based visualization tool, Generalized language analysis, Close and Distant Reading
Keywords [sv]
Textvisualisering, Simpel naturlig språkbehandling, Webbaserat visualiseringsverktyg, Generaliserad språkanalys, Kort- och långdistansläsning
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:liu:diva-225653ISRN: LiU-ITN-TEK-A--26/021--SEOAI: oai:DiVA.org:liu-225653DiVA, id: diva2:2078700
Subject / course
Media Technology
Supervisors
Examiners
Available from: 2026-06-24 Created: 2026-06-24 Last updated: 2026-06-24Bibliographically approved

Open Access in DiVA

fulltext(3947 kB)104 downloads
File information
File name FULLTEXT01.pdfFile size 3947 kBChecksum SHA-512
d5881d4e472863a2a37107bcefef1832ebddef338800321b836a6565c40d42f5bd45ec980a76f6f18628ab1404964fbd2eff898662b498bc27fa9fe7fcbfe980
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Robertsson, Philip Rolf
By organisation
Department of Science and Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 104 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 412 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf