about summary refs log tree commit diff
path: root/usth/ICT2.7/P1L5 Requirements Gathering Subtitles/5 - Average Sentence Length Requirements - lang_en_vs3.srt
blob: afd49e1347316301d7df41fc809a4022717d74fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
1
00:00:00,340 --> 00:00:02,300
You've heard Alvin come up with several conclusions for how to

2
00:00:02,300 --> 00:00:04,510
set up the program. And we're going to ask that you follow his

3
00:00:04,510 --> 00:00:07,590
instincts. We'll spell that out here in a little more technical details

4
00:00:07,590 --> 00:00:11,030
so that everyone is working from the same basic starting point. The

5
00:00:11,030 --> 00:00:13,770
program must be written in Java and must not make you any

6
00:00:13,770 --> 00:00:16,730
nonstandard Java libraries. You will be tested on a machine with the

7
00:00:16,730 --> 00:00:21,060
vanilla installation of Java 1.6. Your program must compile on the command

8
00:00:21,060 --> 00:00:25,360
line using the Java C command without any additional options. All code

9
00:00:25,360 --> 00:00:27,530
required to execute the program that is not part of the

10
00:00:27,530 --> 00:00:31,950
standard JDK, must be included as source code with your program.

11
00:00:31,950 --> 00:00:34,380
Your program should be an application. That is, it should have

12
00:00:34,380 --> 00:00:37,160
a main method and should be executable from the command line using

13
00:00:37,160 --> 00:00:40,100
the Java command. The user should be able to provide a

14
00:00:40,100 --> 00:00:42,450
file path to the file they wish to be analyzed as a

15
00:00:42,450 --> 00:00:45,880
command line argument. User should be able to specify which delimiters

16
00:00:45,880 --> 00:00:50,570
count as sentence separators, using the flag -d, defaulting to Lauren's initial

17
00:00:50,570 --> 00:00:53,930
thoughts on what should be used as delimiters. The user should be

18
00:00:53,930 --> 00:00:58,170
able to specify a lower limit for word length, using the flag -l,

19
00:00:58,170 --> 00:01:02,100
defaulting to Lauren's guess at what value might be good. Finally, the program's

20
00:01:02,100 --> 00:01:03,710
output should be the average sentence

21
00:01:03,710 --> 00:01:05,720
length. Rounded down to the nearest integer.