Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).

A reminder that there will be no Zoom laboratory session on Friday 29th.
 
Assignment 2 and Clarifications.
 
Options:
RSS cloud
Jump to:

Assignment 1. Task 3.

2 of 339 articles shown, currently no other people reading this forum.
photo
From: David M.
Date: Fri 3rd Apr, 3:43pm
Actions: 
        Login-to-reply
Could we have a sample text file for task 3 for unit testing purposes?

I am also wondering about issues such as greater-than and less-than symbols ocurring in the text where they are used as mathematical sybols instead of delimiters.

E.g. 0<x, and x>-1.

Assignment 1. Task 3.

photo
From: Christopher M.
Date: Sun 5th Apr, 5:53am
Actions: 
        Login-to-reply
"David May"                               wrote:

> Could we have a sample text file for task 3 for unit testing purposes?
> 
> I am also wondering about issues such as greater-than and less-than symbols ocurring in the text where they are used as mathematical sybols instead of delimiters.
> 
> E.g. 0<x, and x>-1.

Hello David,

Any simple textfiles are suitable, such as the ones in Exercise sheet 3.

You may safely assume that the files used for testing will only have '<' and '>' around
the terms required in the index, and that each '<' will be followed by '>' on the same line.
Obviously, files with any HTML tags are unsuitable.

This task is about simple pattern matching, and not parsing.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020